aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-01-17 02:18:39 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-01-17 02:18:39 +0000
commitf1fa3732087b628f3950c4624319257b02d4f8d7 (patch)
treec304596b462128c21510ac5000b3b9a7822c8191 /fetchmail.h
parent91edebd962aa90b42cb75b39064dd7e4e27841f1 (diff)
downloadfetchmail-f1fa3732087b628f3950c4624319257b02d4f8d7.tar.gz
fetchmail-f1fa3732087b628f3950c4624319257b02d4f8d7.tar.bz2
fetchmail-f1fa3732087b628f3950c4624319257b02d4f8d7.zip
drive.c now tracks stage.
svn path=/trunk/; revision=2712
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h
index c5cc8671..805021a3 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -394,6 +394,14 @@ int gen_transact ();
#define FORWARDING_WAIT 4 /* waiting for listener response */
extern int phase;
+/* response hooks can use this to identify the query stage */
+#define STAGE_GETAUTH 0
+#define STAGE_GETRANGE 1
+#define STAGE_GETSIZES 2
+#define STAGE_FETCH 3
+#define STAGE_LOGOUT 4
+extern int stage;
+
/* mark values for name lists */
#define XMIT_ACCEPT 1 /* accepted; matches local domain or name */
#define XMIT_REJECT 2 /* rejected; no match */