diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2024-05-13 20:44:07 +0200 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2024-05-13 22:01:09 +0200 |
commit | 10eb77f9323110c55f88195c5b8207eb524baa73 (patch) | |
tree | 940c83fc095bad3e63045bc6fbe9ada8e4276135 /http.h | |
parent | 0effd40bad7ae753102e7040159afd76be4e8732 (diff) |
add unit tests
Diffstat (limited to 'http.h')
-rw-r--r-- | http.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -36,6 +36,14 @@ #include "file.h" /* + * Return structure for HTTP action methods + */ +struct http_ret { + enum khttp code; + char *message; +}; + +/* * Initialize headers and start the document body with the provided http code. * All parameters are required. */ |