commit 4b4767ac39c336be84bb9e5f74067d2bf32cbcfb
parent 862bf1a5f671d06cba35c6d794d9d7c1bcdaf6be
Author: Joris Vink <joris@coders.se>
Date: Sun, 12 Sep 2021 15:12:48 +0200
Missed committing http.h from previous commit.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/kore/http.h b/include/kore/http.h
@@ -357,6 +357,8 @@ int http_body_digest(struct http_request *, char *, size_t);
int http_redirect_add(struct kore_domain *,
const char *, int, const char *);
void http_response(struct http_request *, int, const void *, size_t);
+void http_response_json(struct http_request *, int,
+ struct kore_json_item *);
void http_response_close(struct http_request *, int,
const void *, size_t);
void http_response_fileref(struct http_request *, int,