aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat_libevent.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-11-25 17:00:47 -0500
committerNick Mathewson <nickm@torproject.org>2011-11-25 17:00:47 -0500
commite5f2f10844dc2445f8cf2f0dc8ec92bc4ce65d63 (patch)
treefae7b809f8c8470921c1b38be572e231b0af7709 /src/common/compat_libevent.h
parentb1bd30c24c4d9ee1a760c0fb28e18bc597bb0df5 (diff)
parent406ae1ba5ad529a4d0e710229dab6ed645d42b50 (diff)
downloadtor-e5f2f10844dc2445f8cf2f0dc8ec92bc4ce65d63.tar.gz
tor-e5f2f10844dc2445f8cf2f0dc8ec92bc4ce65d63.zip
Merge remote-tracking branch 'asn/bug4312'
Diffstat (limited to 'src/common/compat_libevent.h')
-rw-r--r--src/common/compat_libevent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/compat_libevent.h b/src/common/compat_libevent.h
index 0247297177..897eddbbe0 100644
--- a/src/common/compat_libevent.h
+++ b/src/common/compat_libevent.h
@@ -46,6 +46,9 @@ void tor_event_free(struct event *ev);
typedef struct periodic_timer_t periodic_timer_t;
+int tor_event_base_once(void (*cb)(evutil_socket_t, short, void *),
+ void *arg, struct timeval *timer);
+
periodic_timer_t *periodic_timer_new(struct event_base *base,
const struct timeval *tv,
void (*cb)(periodic_timer_t *timer, void *data),