summary refs log tree commit diff
path: root/archive.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-25 14:22:41 -0400
committerJune McEnroe <june@causal.agency>2020-04-25 14:22:41 -0400
commit67721f3dbd4ffeb1a03145170df40f616ee0a118 (patch)
tree488236f2789a6e41ef4e16eb5d818825e43c29a0 /archive.h
parentFree envelope in concatData (diff)
downloadbubger-67721f3dbd4ffeb1a03145170df40f616ee0a118.tar.gz
bubger-67721f3dbd4ffeb1a03145170df40f616ee0a118.zip
Accumulate thread envelopes before concatenation
Diffstat (limited to '')
-rw-r--r--archive.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/archive.h b/archive.h
index 23f27f1..65f8a84 100644
--- a/archive.h
+++ b/archive.h
@@ -140,7 +140,11 @@ bool exportData(FILE *imap, enum Atom tag, struct List items);
 
 extern const char *concatHead;
 void concatFetch(FILE *imap, enum Atom tag, struct List threads);
-void concatData(struct List threads, struct List items);
+void concatData(
+	struct List threads, struct Envelope *envelopes, struct List items
+);
+void concatThreads(struct List threads, const struct Envelope *envelopes);
+void concatIndex(struct List threads, const struct Envelope *envelopes);
 
 #define TEMPLATE(...) #__VA_ARGS__