aboutsummaryrefslogtreecommitdiffstats
path: root/include/buffer_event.h
blob: ad8fc55981ec8417e9a43515ec82bc66ea08cd42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* LuaEvent - Copyright (C) 2007 Thomas Harning <harningt@gmail.com>
 * Licensed as LGPL - See doc/COPYING for details */
#ifndef BUFFER_EVENT_H
#define BUFFER_EVENT_H
 
#include "luaevent.h"

typedef struct {
	struct bufferevent* ev;
	le_base* base;
} le_bufferevent;

int buffer_event_register(lua_State* L);
int is_buffer_event(lua_State* L, int idx);
le_bufferevent* buffer_event_check(lua_State* L, int idx);

#endif