diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-01-17 02:18:39 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-01-17 02:18:39 +0000 |
commit | f1fa3732087b628f3950c4624319257b02d4f8d7 (patch) | |
tree | c304596b462128c21510ac5000b3b9a7822c8191 /fetchmail.h | |
parent | 91edebd962aa90b42cb75b39064dd7e4e27841f1 (diff) | |
download | fetchmail-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.h | 8 |
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 */ |