From 78d880bcfe4799f069bba4ad79c6332c25d6db04 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 9 Apr 2020 22:25:00 -0400 Subject: Move export code to export.c --- archive.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'archive.h') diff --git a/archive.h b/archive.h index cc29953..540b898 100644 --- a/archive.h +++ b/archive.h @@ -18,6 +18,8 @@ #include #include +#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 { -- cgit 1.4.1