aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
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;