aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}
};