diff options
author | Aki <please@ignore.pl> | 2020-08-16 01:34:46 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2020-08-16 01:34:46 +0200 |
commit | 67671f75955eaeb5f44bcd8717417f7ba7007c4b (patch) | |
tree | ec578dcf3371e6b7f865802eadadb5210593bc93 /plop.h | |
parent | 8704dabe2d6f1129787266dfab089aea23d92f15 (diff) | |
download | plop-67671f75955eaeb5f44bcd8717417f7ba7007c4b.zip plop-67671f75955eaeb5f44bcd8717417f7ba7007c4b.tar.gz plop-67671f75955eaeb5f44bcd8717417f7ba7007c4b.tar.bz2 |
Switched to epoll
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); |