From 67721f3dbd4ffeb1a03145170df40f616ee0a118 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 25 Apr 2020 14:22:41 -0400 Subject: Accumulate thread envelopes before concatenation --- archive.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'archive.h') 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__ -- cgit 1.4.1