summaryrefslogtreecommitdiffhomepage
path: root/plop.h
diff options
context:
space:
mode:
Diffstat (limited to 'plop.h')
-rw-r--r--plop.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/plop.h b/plop.h
index 0cfe428..d2b68f5 100644
--- a/plop.h
+++ b/plop.h
@@ -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;