include/buffer_event.h

changeset 41
fce1995f0db8
child 42
b1742e841e5a
equal deleted inserted replaced
40:11810d219ddb 41:fce1995f0db8
1 /* LuaEvent - Copyright (C) 2007 Thomas Harning <harningt@gmail.com>
2 * Licensed as LGPL - See doc/COPYING for details */
3 #ifndef BUFFER_EVENT_H
4 #define BUFFER_EVENT_H
5
6 #include "luaevent.h"
7 #include <lua.h>
8 #include <sys/types.h>
9 #include <sys/time.h>
10 #include <event.h>
11
12 typedef struct {
13 struct bufferevent* ev;
14 le_base* base;
15 } le_bufferevent;
16
17 int buffer_event_register(lua_State* L);
18 int is_buffer_event(lua_State* L, int idx);
19 le_bufferevent* buffer_event_check(lua_State* L, int idx);
20
21 #endif

mercurial