diff options
author | Thomas Harning Jr <harningt@gmail.com> | 2007-09-21 12:55:28 -0400 |
---|---|---|
committer | Thomas Harning Jr <harningt@gmail.com> | 2007-09-21 12:55:28 -0400 |
commit | 68bd2b507fa935eb491479b10e53a97b17994cb5 (patch) | |
tree | b6ebe6e44dc5e3875cef1c2f37a43329375611b8 /include | |
parent | e54be68770789933411ec8e7e0d99876cb4ebb89 (diff) | |
download | luaevent-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.h | 3 |
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 |