summaryrefslogtreecommitdiff
path: root/html.c
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 /html.c
parent3b8a43013d2e602135d73070dd3922b77bdfaefa (diff)
Added dummy HTTP handlers for html.
Diffstat (limited to 'html.c')
-rw-r--r--html.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/html.c b/html.c
index db7d10e..0a070b2 100644
--- a/html.c
+++ b/html.c
@@ -116,3 +116,21 @@ d_char *not_really_markdown(char *content, d_char **f_content)
return *f_content;
}
+
+
+int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char **ctype)
+{
+ int status = 0;
+
+ return status;
+}
+
+
+int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size,
+ char **body, int *b_size, char **ctype)
+{
+ int status = 0;
+
+ return status;
+}
+