summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-08-14 11:24:41 +0200
committerdefault <nobody@localhost>2023-08-14 11:24:41 +0200
commit86571f37bb3e85acaed6d0212b5543130a6766ce (patch)
tree1b2209d18369e527da3bed75cdb09927476283ad /snac.h
parent64111f85bdf1dd74bb3bf1ff6886f497cc74f6bd (diff)
The instance URL can now show a timeline.
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/snac.h b/snac.h
index 1365816..155205b 100644
--- a/snac.h
+++ b/snac.h
@@ -259,6 +259,8 @@ xs_str *not_really_markdown(const char *content, xs_list **attach);
xs_str *sanitize(const char *content);
xs_str *encode_html(const char *str);
+xs_str *html_timeline(snac *user, const xs_list *list, int local, int skip, int show, int show_more);
+
int html_get_handler(const xs_dict *req, const char *q_path,
char **body, int *b_size, char **ctype, xs_str **etag);
int html_post_handler(const xs_dict *req, const char *q_path,