aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-10-06 20:34:29 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-10-06 20:34:29 +0000
commit4cb267590512956e78cc054f816fc6294088ce2b (patch)
treed77223b3537ccb534e1a0a591ad671c52f44b0b7 /fetchmail.h
parentf91581a8545a79da9d400e981de6f1ef73d2569a (diff)
downloadfetchmail-4cb267590512956e78cc054f816fc6294088ce2b.tar.gz
fetchmail-4cb267590512956e78cc054f816fc6294088ce2b.tar.bz2
fetchmail-4cb267590512956e78cc054f816fc6294088ce2b.zip
Better behavior on line hits.
svn path=/trunk/; revision=1485
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fetchmail.h b/fetchmail.h
index 1b033a21..89891d54 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -142,6 +142,9 @@ struct query
int expunge; /* max # msgs to pass between expunges */
/* unseen, previous state of mailbox (initially from .fetchids) */
+#define UID_KEPT 0 /* this was remembered from a previous run */
+#define UID_DELETED -1 /* this message has been deleted */
+#define UID_EXPUNGED -2 /* this message has been expunged */
struct idlist *oldsaved, *newsaved;
/* internal use */
@@ -265,6 +268,7 @@ char *str_from_nr_list( struct idlist **idl, int number );
char *str_find(struct idlist **, int);
char *idpair_find(struct idlist **, const char *);
void append_str_list(struct idlist **, struct idlist **);
+void expunge_uids(struct query *);
void update_str_lists(struct query *);
void write_saved_lists(struct query *, const char *);