summaryrefslogtreecommitdiffhomepage
path: root/plop.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2020-08-15 17:21:36 +0200
committerAki <please@ignore.pl>2020-08-15 17:21:36 +0200
commit41cb74fa129f5e18b6c0b99b89933869f09b585c (patch)
treeba478e0c19e9d184fd8cd6e927193c572af3350d /plop.h
parent53b5ea2bafca4ea7e9bdcbe55f1ed0a458b270e1 (diff)
downloadplop-41cb74fa129f5e18b6c0b99b89933869f09b585c.zip
plop-41cb74fa129f5e18b6c0b99b89933869f09b585c.tar.gz
plop-41cb74fa129f5e18b6c0b99b89933869f09b585c.tar.bz2
Changed handler loading to be require-like
Diffstat (limited to 'plop.h')
-rw-r--r--plop.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plop.h b/plop.h
index ef7ecfe..c12b43b 100644
--- a/plop.h
+++ b/plop.h
@@ -8,5 +8,6 @@
#include "request.h"
int make_server(const char *, const char *);
-int handle_client(lua_State * L, struct pollfd *, struct request **, const int);
+int load_handler(lua_State *, const char *);
+int handle_client(lua_State *, struct pollfd *, struct request **, const int);
int handle_server(struct pollfd *, int, const int);