diff options
Diffstat (limited to 'plop.h')
-rw-r--r-- | plop.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,9 +1,9 @@ #pragma once -#include <sys/epoll.h> - #include <lua.h> +#include "connection.h" + struct plop { const char * handler; @@ -16,5 +16,5 @@ extern struct plop plop; lua_State * plop_initialize_lua(void); int open_server(const char *, const char *); int plop_load_handler(lua_State *, const char *); -int plop_handle_client(lua_State *, struct epoll_event *); +int plop_handle_client(lua_State *, struct connection *); int plop_handle_server(lua_State *, const int, const int); |