about summary refs log tree commit diff
path: root/archive.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-09 22:25:00 -0400
committerJune McEnroe <june@causal.agency>2020-04-09 22:25:00 -0400
commit78d880bcfe4799f069bba4ad79c6332c25d6db04 (patch)
tree8531af4ec57f9ce471718d5a298f26d9bfa3b332 /archive.h
parentRender Atom envelopes (diff)
downloadbubger-78d880bcfe4799f069bba4ad79c6332c25d6db04.tar.gz
bubger-78d880bcfe4799f069bba4ad79c6332c25d6db04.zip
Move export code to export.c
Diffstat (limited to 'archive.h')
-rw-r--r--archive.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/archive.h b/archive.h
index cc29953..540b898 100644
--- a/archive.h
+++ b/archive.h
@@ -18,6 +18,8 @@
 #include <stdlib.h>
 #include <time.h>
 
+#include "imap.h"
+
 struct Address {
 	char *name;
 	const char *mailbox;
@@ -58,6 +60,9 @@ static inline void envelopeFree(struct Envelope envelope) {
 	free(envelope.bcc.addrs);
 }
 
+enum Atom exportThreads(FILE *imap, struct List threads);
+void exportData(struct List items);
+
 #define TEMPLATE(...) #__VA_ARGS__
 
 struct Variable {