diff options
Diffstat (limited to 'archive.h')
-rw-r--r-- | archive.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/archive.h b/archive.h index 9ec1f89..d804021 100644 --- a/archive.h +++ b/archive.h @@ -55,3 +55,12 @@ static inline void envelopeFree(struct Envelope envelope) { free(envelope.cc.addrs); free(envelope.bcc.addrs); } + +#define MBOX_HEADERS \ + "Date Subject From Sender Reply-To To Cc Bcc " \ + "Message-Id In-Reply-To References " \ + "MIME-Version Content-Type Content-Disposition Content-Transfer-Encoding" + +int mboxFrom(FILE *file); +int mboxHeader(FILE *file, char *header); +int mboxBody(FILE *file, char *body); |