/* LuaEvent - Copyright (C) 2007 Thomas Harning * Licensed as LGPL - See doc/COPYING for details */ #ifndef LUAEVENT_H #define LUAEVENT_H #include #include #ifdef _WIN32 #include #else #include #endif #include typedef struct { struct event_base* base; lua_State* loop_L; } le_base; le_base* event_base_get(lua_State* L, int idx); void load_timeval(double time, struct timeval *tv); int getSocketFd(lua_State* L, int idx); int luaopen_luaevent(lua_State* L); #endif