From 68bd2b507fa935eb491479b10e53a97b17994cb5 Mon Sep 17 00:00:00 2001 From: Thomas Harning Jr Date: Fri, 21 Sep 2007 12:55:28 -0400 Subject: Exposed event_buffer checks/get/push operations in prep for buffer_event --- include/event_buffer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/event_buffer.h') diff --git a/include/event_buffer.h b/include/event_buffer.h index b34ea2d..a7b1525 100644 --- a/include/event_buffer.h +++ b/include/event_buffer.h @@ -14,5 +14,8 @@ typedef struct { } le_buffer; int event_buffer_register(lua_State* L); +int is_event_buffer(lua_State* L, int idx); +le_buffer* event_buffer_check(lua_State* L, int idx); +int event_buffer_push(lua_State* L, struct evbuffer* buffer); #endif -- cgit v1.2.3