diff options
author | June McEnroe <june@causal.agency> | 2020-04-10 14:20:35 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-10 14:20:35 -0400 |
commit | 4d541ff929d0c320c382d6ebd6569c0c7faf8304 (patch) | |
tree | 0d15cc5675aedd31ac6d9c2b219ed6b0bb11ef7e /archive.h | |
parent | Fix UIDNEXT check and write (diff) | |
download | bubger-4d541ff929d0c320c382d6ebd6569c0c7faf8304.tar.gz bubger-4d541ff929d0c320c382d6ebd6569c0c7faf8304.zip |
Refactor main loop state machine
Diffstat (limited to '')
-rw-r--r-- | archive.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/archive.h b/archive.h index 872bf00..83f2e76 100644 --- a/archive.h +++ b/archive.h @@ -64,10 +64,11 @@ static inline void envelopeFree(struct Envelope envelope) { free(envelope.bcc.addrs); } -enum Atom exportFetch(FILE *imap, struct List threads); +bool exportFetch(FILE *imap, enum Atom tag, struct List threads); void exportData(struct List items); -enum Atom concatFetch(FILE *imap, struct List threads); +void concatFetch(FILE *imap, enum Atom tag, struct List threads); +void concatData(struct List threads, struct List items); #define TEMPLATE(...) #__VA_ARGS__ |