diff options
Diffstat (limited to 'plop.h')
-rw-r--r-- | plop.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,7 @@ #pragma once +#include <poll.h> + #include <lua.h> #include "connection.h" @@ -8,7 +10,9 @@ struct plop { const char * handler; lua_State * L; - int efd; + struct pollfd * fds; + struct connection ** data; + int nfds; }; extern struct plop plop; |