diff options
author | June McEnroe <june@causal.agency> | 2021-06-11 19:05:54 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-06-11 19:05:54 -0400 |
commit | 64003835f0446d05b5a53a527e29d5634a9b80be (patch) | |
tree | d47e729ed753a8d2c4e7ae5a50953ffc309c3196 /archive.h | |
parent | Generate arbitrary search pages and feeds (diff) | |
download | bubger-64003835f0446d05b5a53a527e29d5634a9b80be.tar.gz bubger-64003835f0446d05b5a53a527e29d5634a9b80be.zip |
Generate navigation for search pages
Diffstat (limited to '')
-rw-r--r-- | archive.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/archive.h b/archive.h index 3f13109..7740b98 100644 --- a/archive.h +++ b/archive.h @@ -222,7 +222,8 @@ void concatData( ); void concatThreads(struct List threads, const struct Envelope *envelopes); void concatSearch( - const char *name, struct List threads, const struct Envelope *envelopes + const char *name, struct List threads, const struct Envelope *envelopes, + char *searches[const], size_t len ); int mboxFrom(FILE *file); @@ -251,7 +252,9 @@ int htmlSubthreadOpen(FILE *file, struct List thread); int htmlSubthreadClose(FILE *file); int htmlThreadClose(FILE *file); int htmlSearchHead(FILE *file, const char *name); -int htmlSearchOpen(FILE *file, const char *name); +int htmlSearchOpen( + FILE *file, const char *name, char *searches[const], size_t len +); int htmlSearchThread( FILE *file, const struct Envelope *envelope, struct List thread ); |