aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/event_buffer.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/event_buffer.h b/include/event_buffer.h
new file mode 100644
index 0000000..b34ea2d
--- /dev/null
+++ b/include/event_buffer.h
@@ -0,0 +1,18 @@
+/* LuaEvent - Copyright (C) 2007 Thomas Harning <harningt@gmail.com>
+ * Licensed as LGPL - See doc/COPYING for details */
+#ifndef EVENT_BUFFER_H
+#define EVENT_BUFFER_H
+
+#include "luaevent.h"
+#include <lua.h>
+#include <sys/types.h>
+#include <sys/time.h>
+#include <event.h>
+
+typedef struct {
+ struct evbuffer* buffer;
+} le_buffer;
+
+int event_buffer_register(lua_State* L);
+
+#endif