diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-16 16:15:03 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-16 16:43:17 -0500 |
commit | e3b2e0869ec4718eb0985444adf24e8c30bdeb92 (patch) | |
tree | 7978d6d820a6f167fe27eb6b45eecc7e98537f98 /event-internal.h | |
parent | 5a9a0141896c658af8dd31aa28cf258e510add55 (diff) | |
download | libevent-e3b2e0869ec4718eb0985444adf24e8c30bdeb92.tar.gz |
Add an event_remove_timer() to remove timer on an event without deleting it
Diffstat (limited to 'event-internal.h')
-rw-r--r-- | event-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/event-internal.h b/event-internal.h index 36ece843..614f5d80 100644 --- a/event-internal.h +++ b/event-internal.h @@ -383,6 +383,7 @@ int evsig_restore_handler_(struct event_base *base, int evsignal); int event_add_nolock_(struct event *ev, const struct timeval *tv, int tv_is_absolute); int event_del_nolock_(struct event *ev); +int event_remove_timer_nolock_(struct event *ev); void event_active_nolock_(struct event *ev, int res, short count); int event_callback_activate_(struct event_base *, struct event_callback *); |