diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-08-22 22:59:05 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-08-22 22:59:05 +0000 |
commit | 3de1461231102f0b49264fa3346bdee334590fd2 (patch) | |
tree | de41cf8e0d3b17c82bf0479dcaf62fd50825d0eb /fetchmail.h | |
parent | 36159e7494bd14e0e19584cc5593c0bb5e902609 (diff) | |
download | fetchmail-3de1461231102f0b49264fa3346bdee334590fd2.tar.gz fetchmail-3de1461231102f0b49264fa3346bdee334590fd2.tar.bz2 fetchmail-3de1461231102f0b49264fa3346bdee334590fd2.zip |
Added support for RFC-1725-compliant servers with UIDL and without LAST.
svn path=/trunk/; revision=56
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h index 3eaa1df9..5d071bb2 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -22,6 +22,7 @@ #define FOLDERLEN 256 /* max folder name length */ #define DIGESTLEN 33 /* length of MD5 digest */ #define MDALEN 256 /* length of delivery agent command */ +#define IDLEN 128 /* length of UIDL message ID */ /* exit code values */ #define PS_SUCCESS 0 /* successful receipt of messages */ @@ -59,6 +60,9 @@ struct hostrec { int flush; int rewrite; + /* state used for tracking UIDL ids */ + char lastid [IDLEN]; + /* dependent on the above members */ int output; struct hostrec *next; @@ -80,6 +84,7 @@ extern int quitmode; /* if --quit was set */ /* miscellaneous global controls */ extern char *poprcfile; /* path name of rc file */ +extern char *idfile; /* path name of id file */ extern int linelimit; /* limit # lines retrieved per site */ extern int versioninfo; /* emit only version info */ |