diff options
| author | 2022-09-28 05:22:08 +0200 | |
|---|---|---|
| committer | 2022-09-28 05:22:08 +0200 | |
| commit | b2c826400343cb0e56bf565b8b9c3072c998c22d (patch) | |
| tree | fd9d89535e0c1c312b37be5ed2f18077250d4edb /html.c | |
| parent | Check for muted actors in Announce messages. (diff) | |
| download | snac2-b2c826400343cb0e56bf565b8b9c3072c998c22d.tar.gz snac2-b2c826400343cb0e56bf565b8b9c3072c998c22d.tar.xz snac2-b2c826400343cb0e56bf565b8b9c3072c998c22d.zip | |
Added dummy HTTP handlers for html.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 18 |
1 files changed, 18 insertions, 0 deletions
| @@ -116,3 +116,21 @@ d_char *not_really_markdown(char *content, d_char **f_content) | |||
| 116 | 116 | ||
| 117 | return *f_content; | 117 | return *f_content; |
| 118 | } | 118 | } |
| 119 | |||
| 120 | |||
| 121 | int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char **ctype) | ||
| 122 | { | ||
| 123 | int status = 0; | ||
| 124 | |||
| 125 | return status; | ||
| 126 | } | ||
| 127 | |||
| 128 | |||
| 129 | int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size, | ||
| 130 | char **body, int *b_size, char **ctype) | ||
| 131 | { | ||
| 132 | int status = 0; | ||
| 133 | |||
| 134 | return status; | ||
| 135 | } | ||
| 136 | |||