summaryrefslogtreecommitdiffhomepage
path: root/plop.c
diff options
context:
space:
mode:
Diffstat (limited to 'plop.c')
-rw-r--r--plop.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/plop.c b/plop.c
index ee24634..8a21919 100644
--- a/plop.c
+++ b/plop.c
@@ -18,6 +18,12 @@
#include "connection.h"
#include "stream.h"
+struct plop plop = {
+ .handler = PLOP_DEFAULT_HANDLER,
+ .L = NULL,
+ .efd = -1,
+};
+
/// Initializes new Lua state for the server.
/// \return Lua state
lua_State * plop_initialize_lua(void)