aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h5
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 */