aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-08-07 19:24:53 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-08-07 19:24:53 +0000
commit192bcbb0ddce0d8737923c7bb41c5b836a357458 (patch)
treed6903f1067294f2bb8d6e954daea46730e0ffb9e /fetchmail.h
parent590d575e53ec9818122c124d5765b6343765776a (diff)
downloadfetchmail-192bcbb0ddce0d8737923c7bb41c5b836a357458.tar.gz
fetchmail-192bcbb0ddce0d8737923c7bb41c5b836a357458.tar.bz2
fetchmail-192bcbb0ddce0d8737923c7bb41c5b836a357458.zip
Deal with X-IMAP header properly.
svn path=/trunk/; revision=1244
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h
index f5632c2d..0db3f4b3 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -42,6 +42,7 @@
#define PS_UNDEFINED 11 /* something I hadn't thought of */
#define PS_TRANSIENT 12 /* transient failure (internal use) */
#define PS_REFUSED 13 /* mail refused (internal use) */
+#define PS_RETAINED 24 /* message retained (internal use) */
/* output noise level */
#define O_SILENT 0 /* mute, max squelch, etc. */
@@ -168,6 +169,7 @@ struct method
int (*fetch_body)(); /* fetch a given message */
int (*trail)(); /* eat trailer of a message */
int (*delete)(); /* delete method */
+ flag (*retain_hdr)(); /* if this returns TRUE, retain message */
char *exit_cmd; /* exit command */
};