repo.or.cz
/
luaevent.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* Adjusted licensing and added README.
[luaevent.git]
/
luaevent
/
include
/
luaevent.h
blob
64bfb519b4e30086b2d23100eb0de5099c0e08f7
1
/* LuaEvent - Copyright (C) 2007 Thomas Harning <harningt@gmail.com>
2
* Licensed as LGPL - See doc/COPYING for details */
3
#ifndef LUAEVENT_H
4
#define LUAEVENT_H
5
6
#include <lua.h>
7
#include <sys/types.h>
8
#include <sys/time.h>
9
#include <event.h>
10
11
typedef
struct
{
12
struct
event ev
;
13
lua_State
*
L
;
14
int
callbackRef
;
15
}
le_callback
;
16
17
int
luaopen_luaevent
(
lua_State
*
L
);
18
19
#endif