From 41cb74fa129f5e18b6c0b99b89933869f09b585c Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 15 Aug 2020 17:21:36 +0200 Subject: Changed handler loading to be require-like --- plop.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plop.h') 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); -- cgit v1.1