From 3de1461231102f0b49264fa3346bdee334590fd2 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 22 Aug 1996 22:59:05 +0000 Subject: Added support for RFC-1725-compliant servers with UIDL and without LAST. svn path=/trunk/; revision=56 --- fetchmail.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'fetchmail.h') 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 */ -- cgit v1.2.3