summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-12-21 23:21:33 -0500
committerNick Mathewson <nickm@torproject.org>2013-12-21 23:21:33 -0500
commit5c9da9a8a86a84edd06761d8049d90ef130f4f01 (patch)
tree7464a55cf88a8bb5d3a3fcfd5663bf7895177ea8 /include
parent93369ff4e9022b4a05e83608f2a9d61a23452ce3 (diff)
downloadlibevent-5c9da9a8a86a84edd06761d8049d90ef130f4f01.tar.gz
Sanity-check arguments to event_base_active_by_fd()
Diffstat (limited to 'include')
-rw-r--r--include/event2/event.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/event2/event.h b/include/event2/event.h
index 2c93e9ab..b081429c 100644
--- a/include/event2/event.h
+++ b/include/event2/event.h
@@ -1465,10 +1465,11 @@ void event_base_dump_events(struct event_base *, FILE *);
/**
- Activates all events for the given fd and event mask.
+ Activates all pending events for the given fd and event mask.
- @param fd An fd or signal
- @param events One or more EV_* flags
+ @param base the event_base on which to activate the events.
+ @param fd An fd to active events on.
+ @param events One or more of EV_{READ,WRITE,TIMEOUT}.
*/
void event_base_active_by_fd(struct event_base *base, evutil_socket_t fd, short events);