Fri, 21 Sep 2007 14:35:11 -0400
buffer_event is born, albeit w/ deformities. Can construct instances but not use, yet.
/* 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); int is_event_buffer(lua_State* L, int idx); le_buffer* event_buffer_check(lua_State* L, int idx); int event_buffer_push(lua_State* L, struct evbuffer* buffer); #endif