diff options
author | Thomas Harning Jr <harningt@gmail.com> | 2007-06-10 16:01:26 +0000 |
---|---|---|
committer | Thomas Harning Jr <harningt@gmail.com> | 2007-06-10 16:01:26 +0000 |
commit | ca61614b981fff436b50caabc2e61d4d962348b7 (patch) | |
tree | 23f812dd41a0a58f24513eade898ddaaf3614065 /luaevent/include/luaevent.h | |
download | luaevent-prosody-ca61614b981fff436b50caabc2e61d4d962348b7.tar.gz luaevent-prosody-ca61614b981fff436b50caabc2e61d4d962348b7.zip |
Initial commit:
* Created tree structure
* Committed current version
Diffstat (limited to 'luaevent/include/luaevent.h')
-rw-r--r-- | luaevent/include/luaevent.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/luaevent/include/luaevent.h b/luaevent/include/luaevent.h new file mode 100644 index 0000000..854d111 --- /dev/null +++ b/luaevent/include/luaevent.h @@ -0,0 +1,17 @@ +#ifndef LUAEVENT_H +#define LUAEVENT_H + +#include <lua.h> +#include <sys/types.h> +#include <sys/time.h> +#include <event.h> + +typedef struct { + struct event ev; + lua_State* L; + int callbackRef; +} le_callback; + +int luaopen_luaevent(lua_State* L); + +#endif |