aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-06-12 14:03:12 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-06-12 14:03:12 +0000
commit55c82747da92252f31abea13329950722b737185 (patch)
tree57b9d1512e42bfa105c67f13e5183cef0ac45c4f /fetchmail.h
parentc6d40e5347619bfd246bef4e3ded59ed61f88353 (diff)
downloadfetchmail-55c82747da92252f31abea13329950722b737185.tar.gz
fetchmail-55c82747da92252f31abea13329950722b737185.tar.bz2
fetchmail-55c82747da92252f31abea13329950722b737185.zip
Cleanup.
svn path=/trunk/; revision=3340
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/fetchmail.h b/fetchmail.h
index a62751b7..6886e918 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -404,9 +404,12 @@ void report_complete ();
void report_at_line ();
#endif
+/* driver.c -- main driver loop */
+void set_timeout(int);
+int do_protocol(struct query *, const struct method *);
+
/* transact.c: transaction support */
void init_transact(const struct method *);
-void set_timeout(int);
int readheaders(int sock,
long fetchlen,
long reallen,
@@ -414,13 +417,13 @@ int readheaders(int sock,
int num);
int readbody(int sock, struct query *ctl, flag forward, int len);
#if defined(HAVE_STDARG_H)
-void gen_send (int sock, const char *, ... );
+void gen_send(int sock, const char *, ... );
int gen_recv(int sock, char *buf, int size);
-int gen_transact (int sock, const char *, ... );
+int gen_transact(int sock, const char *, ... );
#else
-void gen_send ();
+void gen_send();
int gen_recv();
-int gen_transact ();
+int gen_transact();
#endif
extern struct msgblk msgblk;
@@ -544,7 +547,6 @@ static char *dummy = gettext_noop("alloca failed");
#endif
/* protocol driver and methods */
-int do_protocol(struct query *, const struct method *);
int doPOP2 (struct query *);
int doPOP3 (struct query *);
int doIMAP (struct query *);