summaryrefslogtreecommitdiffhomepage
path: root/plop.h
diff options
context:
space:
mode:
Diffstat (limited to 'plop.h')
-rw-r--r--plop.h6
1 files changed, 3 insertions, 3 deletions
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 <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);