From 7953ea0aef6d6d7110c95f368c07c1ac8b6223b8 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 26 Apr 2020 15:57:07 -0400 Subject: Generate index.atom --- archive.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'archive.h') diff --git a/archive.h b/archive.h index 136723b..9a0de12 100644 --- a/archive.h +++ b/archive.h @@ -188,14 +188,17 @@ int mboxFrom(FILE *file); int mboxHeader(FILE *file, const char *header); int mboxBody(FILE *file, const char *body); -extern const char *atomBaseURL; +extern const char *baseURL; +extern const char *baseTitle; + int atomEntryOpen(FILE *file, const struct Envelope *envelope); int atomContent(FILE *file, const char *content); int atomEntryClose(FILE *file); -int atomFeedOpen(FILE *file, const struct Envelope *envelope); -int atomFeedClose(FILE *file); +int atomThreadOpen(FILE *file, const struct Envelope *envelope); +int atomThreadClose(FILE *file); +int atomIndexOpen(FILE *file); +int atomIndexClose(FILE *file); -extern const char *htmlTitle; int htmlMessageOpen(FILE *file, const struct Envelope *envelope); int htmlInline(FILE *file, const struct BodyPart *part, const char *content); int htmlAttachmentOpen(FILE *file); -- cgit 1.4.1