summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authorGravatar default2022-09-28 05:22:08 +0200
committerGravatar default2022-09-28 05:22:08 +0200
commitb2c826400343cb0e56bf565b8b9c3072c998c22d (patch)
treefd9d89535e0c1c312b37be5ed2f18077250d4edb /snac.h
parentCheck for muted actors in Announce messages. (diff)
downloadsnac2-b2c826400343cb0e56bf565b8b9c3072c998c22d.tar.gz
snac2-b2c826400343cb0e56bf565b8b9c3072c998c22d.tar.xz
snac2-b2c826400343cb0e56bf565b8b9c3072c998c22d.zip
Added dummy HTTP handlers for html.
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/snac.h b/snac.h
index 209acb2..904f947 100644
--- a/snac.h
+++ b/snac.h
@@ -111,3 +111,6 @@ int activitypub_post_handler(d_char *req, char *q_path,
111 char **body, int *b_size, char **ctype); 111 char **body, int *b_size, char **ctype);
112 112
113d_char *not_really_markdown(char *content, d_char **f_content); 113d_char *not_really_markdown(char *content, d_char **f_content);
114int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char **ctype);
115int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size,
116 char **body, int *b_size, char **ctype);