Merge branch 'prosody-tree'
[luaevent.git] / include / buffer_event.h
blobad8fc55981ec8417e9a43515ec82bc66ea08cd42
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
6 #include "luaevent.h"
8 typedef struct {
9 struct bufferevent* ev;
10 le_base* base;
11 } le_bufferevent;
13 int buffer_event_register(lua_State* L);
14 int is_buffer_event(lua_State* L, int idx);
15 le_bufferevent* buffer_event_check(lua_State* L, int idx);
17 #endif