diff options
author | June McEnroe <june@causal.agency> | 2020-04-15 19:06:42 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-15 19:06:42 -0400 |
commit | d72dcfd4665f937eec2d325c10d35a644e9c06ad (patch) | |
tree | 81617185483e24ab19a0beefa4c69405a69e596e /archive.h | |
parent | Tweak fetchParts naming (diff) | |
download | bubger-d72dcfd4665f937eec2d325c10d35a644e9c06ad.tar.gz bubger-d72dcfd4665f937eec2d325c10d35a644e9c06ad.zip |
Rewrite HTML rendering
Diffstat (limited to '')
-rw-r--r-- | archive.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/archive.h b/archive.h index c48d8e3..94db1a6 100644 --- a/archive.h +++ b/archive.h @@ -130,6 +130,7 @@ void parseBodyPart(struct BodyPart *part, struct List list); bool exportFetch(FILE *imap, enum Atom tag, struct List threads); bool exportData(FILE *imap, enum Atom tag, struct List items); +extern const char *concatHead; void concatFetch(FILE *imap, enum Atom tag, struct List threads); void concatData(struct List threads, struct List items); @@ -203,10 +204,11 @@ int atomEntryClose(FILE *file); int atomFeedOpen(FILE *file, const struct Envelope *envelope); int atomFeedClose(FILE *file); -int htmlMessageHead(FILE *file, const struct Envelope *envelope); -int htmlMessageTail(FILE *file); +extern const char *htmlTitle; +int htmlMessageOpen(FILE *file, const struct Envelope *envelope); +int htmlMessageClose(FILE *file); int htmlThreadHead(FILE *file, const struct Envelope *envelope); -int htmlThreadHeader(FILE *file, const struct Envelope *envelope); -int htmlThreadOpen(FILE *file); +int htmlThreadOpen(FILE *file, const struct Envelope *envelope); +int htmlSubthreadOpen(FILE *file); +int htmlSubthreadClose(FILE *file); int htmlThreadClose(FILE *file); -int htmlThreadTail(FILE *file); |