summaryrefslogtreecommitdiffhomepage
path: root/plop.h
diff options
context:
space:
mode:
Diffstat (limited to 'plop.h')
-rw-r--r--plop.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/plop.h b/plop.h
index f3a1fe0..903fb1f 100644
--- a/plop.h
+++ b/plop.h
@@ -4,6 +4,15 @@
#include <lua.h>
+struct plop
+{
+ const char * handler;
+ lua_State * L;
+ int efd;
+};
+
+extern struct plop plop;
+
lua_State * plop_initialize_lua(void);
int open_server(const char *, const char *);
int plop_load_handler(lua_State *, const char *);