From f1fa3732087b628f3950c4624319257b02d4f8d7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 17 Jan 2000 02:18:39 +0000 Subject: drive.c now tracks stage. svn path=/trunk/; revision=2712 --- fetchmail.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'fetchmail.h') 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 */ -- cgit v1.2.3