diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-03-13 23:36:42 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-03-13 23:36:42 +0000 |
commit | bbe77448fcca03bec5bf6cdadb6c37dd32f067b8 (patch) | |
tree | c48ba605243c9629bd15a625889c23ce1b1ecbca /pop3.c | |
parent | 599f1a573263bf12b3d44920e79d36560f9bd7c9 (diff) | |
download | fetchmail-bbe77448fcca03bec5bf6cdadb6c37dd32f067b8.tar.gz fetchmail-bbe77448fcca03bec5bf6cdadb6c37dd32f067b8.tar.bz2 fetchmail-bbe77448fcca03bec5bf6cdadb6c37dd32f067b8.zip |
Nake methods invisible except through the driver's table.
svn path=/trunk/; revision=3249
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -41,7 +41,7 @@ static char lastok[POPBUFSIZE+1]; #define DOTLINE(s) (s[0] == '.' && (s[1]=='\r'||s[1]=='\n'||s[1]=='\0')) -int pop3_ok (int sock, char *argbuf) +static int pop3_ok (int sock, char *argbuf) /* parse command response */ { int ok; @@ -49,8 +49,7 @@ int pop3_ok (int sock, char *argbuf) char *bufp; if ((ok = gen_recv(sock, buf, sizeof(buf))) == 0) - { - bufp = buf; + { bufp = buf; if (*bufp == '+' || *bufp == '-') bufp++; else @@ -123,7 +122,7 @@ int pop3_ok (int sock, char *argbuf) return(ok); } -int pop3_getauth(int sock, struct query *ctl, char *greeting) +static int pop3_getauth(int sock, struct query *ctl, char *greeting) /* apply for connection authorization */ { int ok; @@ -346,8 +345,7 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting) return(PS_SUCCESS); } -static int -pop3_gettopid( int sock, int num , char *id) +static int pop3_gettopid( int sock, int num , char *id) { int ok; int got_it; @@ -370,8 +368,7 @@ pop3_gettopid( int sock, int num , char *id) return 0; } -static int -pop3_slowuidl( int sock, struct query *ctl, int *countp, int *newp) +static int pop3_slowuidl( int sock, struct query *ctl, int *countp, int *newp) { /* This approach tries to get the message headers from the * remote hosts and compares the message-id to the already known |