about summary refs log tree commit diff
path: root/archive.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-10 14:20:35 -0400
committerJune McEnroe <june@causal.agency>2020-04-10 14:20:35 -0400
commit4d541ff929d0c320c382d6ebd6569c0c7faf8304 (patch)
tree0d15cc5675aedd31ac6d9c2b219ed6b0bb11ef7e /archive.h
parentFix UIDNEXT check and write (diff)
downloadbubger-4d541ff929d0c320c382d6ebd6569c0c7faf8304.tar.gz
bubger-4d541ff929d0c320c382d6ebd6569c0c7faf8304.zip
Refactor main loop state machine
Diffstat (limited to 'archive.h')
-rw-r--r--archive.h5
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__