diff options
Diffstat (limited to 'plop.h')
-rw-r--r-- | plop.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ #pragma once -#include <poll.h> +#include <sys/epoll.h> #include <lua.h> @@ -9,5 +9,5 @@ int make_server(const char *, const char *); 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); +int handle_client(lua_State *, struct epoll_event *); +int handle_server(lua_State *, const int, const int); |