summaryrefslogtreecommitdiffhomepage
path: root/response.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2020-08-16 16:50:48 +0200
committerAki <please@ignore.pl>2020-08-16 16:50:48 +0200
commitd41fa3a7b62216e35cc5a7be665f80481b6f9c78 (patch)
tree76227ca23143cee8785cfce391705bca9b0d96e5 /response.h
parent298e4732739f13f84c388deff33b5bd5ba01e624 (diff)
downloadplop-d41fa3a7b62216e35cc5a7be665f80481b6f9c78.zip
plop-d41fa3a7b62216e35cc5a7be665f80481b6f9c78.tar.gz
plop-d41fa3a7b62216e35cc5a7be665f80481b6f9c78.tar.bz2
Single handedly implemented Lua based response send without testing
Diffstat (limited to 'response.h')
-rw-r--r--response.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/response.h b/response.h
index ec90bc5..c9b9c06 100644
--- a/response.h
+++ b/response.h
@@ -1,6 +1,9 @@
#pragma once
+#include <lua.h>
+
#include "http.h"
+int response_send(lua_State *, const int);
int respond_only_status(int, enum status);
int respond_with_body(int, enum status, const char *, int);