summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--archive.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/archive.h b/archive.h
index 09f8f6a..8d55328 100644
--- a/archive.h
+++ b/archive.h
@@ -136,6 +136,16 @@ static inline void bodyPartFree(struct BodyPart part) {
 void parseEnvelope(struct Envelope *envelope, struct List list);
 void parseBodyPart(struct BodyPart *part, struct List list);
 
+char *decodeHeader(const char *header);
+char *decodeToString(const struct BodyPart *part, const char *content);
+int decodeToFile(FILE *file, const struct BodyPart *part, const char *content);
+
+#define PATH_UID "UID/[uid].[type]"
+#define PATH_MESSAGE "message/[messageID].[type]"
+#define PATH_THREAD "thread/[messageID].[type]"
+#define PATH_ATTACHMENT \
+	"attachment/[messageID]/[section]/[name][disposition][.][subtype]"
+
 bool exportFetch(FILE *imap, enum Atom tag, struct List threads);
 bool exportData(FILE *imap, enum Atom tag, struct List items);
 
@@ -170,15 +180,9 @@ char *templateBuffer(
 );
 char *templateURL(const char *template, const struct Variable vars[]);
 
-char *decodeHeader(const char *header);
-char *decodeToString(const struct BodyPart *part, const char *content);
-int decodeToFile(FILE *file, const struct BodyPart *part, const char *content);
-
-#define PATH_UID "UID/[uid].[type]"
-#define PATH_MESSAGE "message/[messageID].[type]"
-#define PATH_THREAD "thread/[messageID].[type]"
-#define PATH_ATTACHMENT \
-	"attachment/[messageID]/[section]/[name][disposition][.][subtype]"
+extern const char *baseURL;
+extern const char *baseTitle;
+extern const char *baseAddress;
 
 #define MBOX_HEADERS \
 	"Date Subject From Sender Reply-To To Cc Bcc " \
@@ -189,10 +193,6 @@ int mboxFrom(FILE *file);
 int mboxHeader(FILE *file, const char *header);
 int mboxBody(FILE *file, const char *body);
 
-extern const char *baseURL;
-extern const char *baseTitle;
-extern const char *baseAddress;
-
 int atomEntryOpen(FILE *file, const struct Envelope *envelope);
 int atomContent(FILE *file, const char *content);
 int atomEntryClose(FILE *file);
f936b182c461b604fa874a556abd07c98e2&follow=1'>import: Add missing scripts/wrap-compiler-for-flag-checkJune McEnroe 2021-05-08Import LibreSSL 3.3.3June McEnroe 2021-04-18build: Remove added x509_verify.3 links 3.3.2June McEnroe 2021-04-18tls: Use EC_KEY_set_ex_dataJune McEnroe 2021-04-18Import LibreSSL 3.3.2June McEnroe 2021-03-05Bump version to 3.3.1p1 3.3.1p1June McEnroe 2021-03-05build: Add OpenSSL includes to libcompatJune McEnroe 2020-12-15Import LibreSSL 3.3.1June McEnroe 2020-11-24Import LibreSSL 3.3.0June McEnroe 2020-10-22Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe