aboutsummaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-28 05:22:08 +0200
committerdefault <nobody@localhost>2022-09-28 05:22:08 +0200
commitb2c826400343cb0e56bf565b8b9c3072c998c22d (patch)
treefd9d89535e0c1c312b37be5ed2f18077250d4edb /snac.h
parent3b8a43013d2e602135d73070dd3922b77bdfaefa (diff)
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,
char **body, int *b_size, char **ctype);
d_char *not_really_markdown(char *content, d_char **f_content);
+int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char **ctype);
+int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size,
+ char **body, int *b_size, char **ctype);