summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--format.c3
-rw-r--r--xs_httpd.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/format.c b/format.c
index b7dfdf8..f0f4298 100644
--- a/format.c
+++ b/format.c
@@ -20,7 +20,7 @@ struct {
20 { ":-(", "😞" }, 20 { ":-(", "😞" },
21 { ":-*", "😘" }, 21 { ":-*", "😘" },
22 { ":-/", "😕" }, 22 { ":-/", "😕" },
23 { "8-o", "😳" }, 23 { "8-o", "😲" },
24 { "%-)", "🤪" }, 24 { "%-)", "🤪" },
25 { ":_(", "😢" }, 25 { ":_(", "😢" },
26 { ":-|", "😐" }, 26 { ":-|", "😐" },
@@ -29,6 +29,7 @@ struct {
29 { ":eyeroll:", "🙄" }, 29 { ":eyeroll:", "🙄" },
30 { ":beer:", "🍺" }, 30 { ":beer:", "🍺" },
31 { ":beers:", "🍻" }, 31 { ":beers:", "🍻" },
32 { ":munch:", "😱" },
32 { NULL, NULL } 33 { NULL, NULL }
33}; 34};
34 35
diff --git a/xs_httpd.h b/xs_httpd.h
index ea56263..2fb5057 100644
--- a/xs_httpd.h
+++ b/xs_httpd.h
@@ -69,6 +69,8 @@ d_char *xs_url_vars(char *str)
69} 69}
70 70
71 71
72void *memmem(const void *, size_t, const void *, size_t);
73
72d_char *_xs_multipart_form_data(char *payload, int p_size, char *header) 74d_char *_xs_multipart_form_data(char *payload, int p_size, char *header)
73/* parses a multipart/form-data payload */ 75/* parses a multipart/form-data payload */
74{ 76{