aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Harning Jr <harningt@gmail.com>2007-11-16 11:39:55 -0500
committerThomas Harning Jr <harningt@gmail.com>2007-11-16 11:39:55 -0500
commit9a3c5b06bcf62218ae0d0ac1b07cc488a6bbfb88 (patch)
treee135afdd4e77920ff094d4020bbb557e10632dc6 /src
parente6cd4237c13564492e42b0bcaed8e4307be54e2b (diff)
downloadluaevent-prosody-9a3c5b06bcf62218ae0d0ac1b07cc488a6bbfb88.tar.gz
luaevent-prosody-9a3c5b06bcf62218ae0d0ac1b07cc488a6bbfb88.zip
Added EVBUFFER_* constants to luaevent.core
Diffstat (limited to 'src')
-rw-r--r--src/luaevent.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/luaevent.c b/src/luaevent.c
index bac728b..b1f57eb 100644
--- a/src/luaevent.c
+++ b/src/luaevent.c
@@ -106,6 +106,12 @@ static namedInteger consts[] = {
{"EV_READ", EV_READ},
{"EV_WRITE", EV_WRITE},
{"EV_TIMEOUT", EV_TIMEOUT},
+ /* bufferevent */
+ {"EVBUFFER_READ", EVBUFFER_READ},
+ {"EVBUFFER_WRITE", EVBUFFER_WRITE},
+ {"EVBUFFER_EOF", EVBUFFER_EOF},
+ {"EVBUFFER_ERROR", EVBUFFER_ERROR},
+ {"EVBUFFER_TIMEOUT", EVBUFFER_TIMEOUT},
{NULL, 0}
};