aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Harning Jr <harningt@gmail.com>2007-09-21 12:55:28 -0400
committerThomas Harning Jr <harningt@gmail.com>2007-09-21 12:55:28 -0400
commit68bd2b507fa935eb491479b10e53a97b17994cb5 (patch)
treeb6ebe6e44dc5e3875cef1c2f37a43329375611b8 /include
parente54be68770789933411ec8e7e0d99876cb4ebb89 (diff)
downloadluaevent-prosody-68bd2b507fa935eb491479b10e53a97b17994cb5.tar.gz
luaevent-prosody-68bd2b507fa935eb491479b10e53a97b17994cb5.zip
Exposed event_buffer checks/get/push operations in prep for buffer_event
Diffstat (limited to 'include')
-rw-r--r--include/event_buffer.h3
1 files changed, 3 insertions, 0 deletions
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