diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-04-18 18:32:03 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-04-18 18:32:03 +0000 |
commit | ec014e8c69e65b56063735ee47cb29173cae113e (patch) | |
tree | 3b03a971a283036041e191348868847f3f1d3670 /fetchmail.h | |
parent | 42da1e74000a8d3507c8ba11848bd2f3998d1cd2 (diff) | |
download | fetchmail-ec014e8c69e65b56063735ee47cb29173cae113e.tar.gz fetchmail-ec014e8c69e65b56063735ee47cb29173cae113e.tar.bz2 fetchmail-ec014e8c69e65b56063735ee47cb29173cae113e.zip |
Enable expunge to controil POP2 and POP3 checkpointing.
svn path=/trunk/; revision=2439
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fetchmail.h b/fetchmail.h index c02bb768..0c0118e7 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -74,6 +74,7 @@ #define PS_REFUSED 25 /* mail refused (internal use) */ #define PS_RETAINED 26 /* message retained (internal use) */ #define PS_TRUNCATED 27 /* headers incomplete (internal use) */ +#define PS_MAXFETCH 28 /* poll ended by fetch limit */ /* output noise level */ #define O_SILENT 0 /* mute, max squelch, etc. */ @@ -285,9 +286,12 @@ struct msgblk /* message header parsed for open_sink() */ /* * Numeric option handling. Numeric option value of zero actually means - * it's unspecified. Value less than zero is zero. + * it's unspecified. Value less than zero is zero. The reason for this + * screwy encoding is so we can zero out an option block in order to set the + * numeric flags in it to unspecified. */ -#define NUM_VALUE(n) (((n) == 0) ? -1 : (n)) +#define NUM_VALUE_IN(n) (((n) == 0) ? -1 : (n)) +#define NUM_VALUE_OUT(n) (((n) < 0) ? 0 : (n)) #define NUM_NONZERO(n) ((n) > 0) #define NUM_ZERO(n) ((n) < 0) #define NUM_SPECIFIED(n) ((n) != 0) |