aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/event_callback.h1
-rw-r--r--include/luaevent.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/event_callback.h b/include/event_callback.h
index cb34d8e..38aedb8 100644
--- a/include/event_callback.h
+++ b/include/event_callback.h
@@ -13,6 +13,7 @@ typedef struct {
struct event ev;
le_base* base;
int callbackRef;
+ struct timeval timeout;
} le_callback;
int event_callback_register(lua_State* L);
diff --git a/include/luaevent.h b/include/luaevent.h
index e8b8f05..2424756 100644
--- a/include/luaevent.h
+++ b/include/luaevent.h
@@ -14,6 +14,7 @@ typedef struct {
} le_base;
le_base* event_base_get(lua_State* L, int idx);
+void load_timeval(double time, struct timeval *tv);
int luaopen_luaevent(lua_State* L);