diff options
author | June McEnroe <june@causal.agency> | 2020-04-26 15:57:07 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-26 16:04:43 -0400 |
commit | 7953ea0aef6d6d7110c95f368c07c1ac8b6223b8 (patch) | |
tree | b10d55b0e940dd8a287cb5b51b732c0faef25ae5 /archive.h | |
parent | Generate XHTML content in Atom entries (diff) | |
download | bubger-7953ea0aef6d6d7110c95f368c07c1ac8b6223b8.tar.gz bubger-7953ea0aef6d6d7110c95f368c07c1ac8b6223b8.zip |
Generate index.atom
Diffstat (limited to '')
-rw-r--r-- | archive.h | 11 |
1 files changed, 7 insertions, 4 deletions
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); |