summaryrefslogtreecommitdiffhomepage
path: root/plop.h
diff options
context:
space:
mode:
Diffstat (limited to 'plop.h')
-rw-r--r--plop.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/plop.h b/plop.h
new file mode 100644
index 0000000..2ecd678
--- /dev/null
+++ b/plop.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include <poll.h>
+
+#include <lua.h>
+
+#include "http.h"
+
+int make_server(const char *, const char *);
+int handle_client(lua_State * L, struct pollfd *, struct request **, const int);
+int handle_server(struct pollfd *, int, const int);