Added event_buffer object + 'add' functionality
[luaevent.git] / include / event_buffer.h
blobb34ea2d271a51d9243b5933f0161e886f2a29f0c
1 /* LuaEvent - Copyright (C) 2007 Thomas Harning <harningt@gmail.com>
2 * Licensed as LGPL - See doc/COPYING for details */
3 #ifndef EVENT_BUFFER_H
4 #define EVENT_BUFFER_H
6 #include "luaevent.h"
7 #include <lua.h>
8 #include <sys/types.h>
9 #include <sys/time.h>
10 #include <event.h>
12 typedef struct {
13 struct evbuffer* buffer;
14 } le_buffer;
16 int event_buffer_register(lua_State* L);
18 #endif