aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-06-12 20:08:05 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-06-12 20:08:05 +0000
commitc532788db43d3b8bac1e2732db59f3d9b391fcc1 (patch)
treeb05a92436f775833f2a4f746f716c977397c9434 /driver.c
parentfeaaa0019b81400e351029fd5fe3bd156395d9b3 (diff)
downloadfetchmail-c532788db43d3b8bac1e2732db59f3d9b391fcc1.tar.gz
fetchmail-c532788db43d3b8bac1e2732db59f3d9b391fcc1.tar.bz2
fetchmail-c532788db43d3b8bac1e2732db59f3d9b391fcc1.zip
Move some global data where it belongs.
svn path=/trunk/; revision=3348
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index 5a5a876f..d2a7b9d2 100644
--- a/driver.c
+++ b/driver.c
@@ -48,6 +48,12 @@
#define THROW_TIMEOUT 1 /* server timed out */
#define THROW_SIGPIPE 2 /* SIGPIPE on stream socket */
+int pass; /* how many times have we re-polled? */
+int stage; /* where are we? */
+int phase; /* where are we, for error-logging purposes? */
+int batchcount; /* count of messages sent in current batch */
+flag peek_capable; /* can we peek for better error recovery? */
+
static int timeoutcount; /* count consecutive timeouts */
static jmp_buf restart;