From 67671f75955eaeb5f44bcd8717417f7ba7007c4b Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 16 Aug 2020 01:34:46 +0200 Subject: Switched to epoll --- plop.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plop.h') diff --git a/plop.h b/plop.h index c12b43b..1aeec7f 100644 --- a/plop.h +++ b/plop.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include @@ -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); -- cgit v1.1