include/event_buffer.h

changeset 26
a117895e867c
child 40
11810d219ddb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/event_buffer.h	Thu Sep 06 23:22:55 2007 -0400
@@ -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

mercurial