summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
Diffstat (limited to 'http.h')
-rw-r--r--http.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/http.h b/http.h
index 1112f74..5f09c88 100644
--- a/http.h
+++ b/http.h
@@ -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.
*/