summaryrefslogtreecommitdiff
path: root/src/common/compat_libevent.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-12-06 19:49:20 -0500
committerNick Mathewson <nickm@torproject.org>2011-12-06 19:49:20 -0500
commitdf1f72329acf5f555618a5309f2621e584c0d763 (patch)
tree322a3115843ddb041192acf8f66294fe342254de /src/common/compat_libevent.h
parent3a17a1a62f242f3aa64891407d3d64aa040d6d02 (diff)
downloadtor-df1f72329acf5f555618a5309f2621e584c0d763.tar.gz
tor-df1f72329acf5f555618a5309f2621e584c0d763.zip
Revert "Refactor tor_event_base_once to do what we actually want"
This reverts commit 7920ea55b8d994268d2b07f27316b0f34d8f27e5.
Diffstat (limited to 'src/common/compat_libevent.h')
-rw-r--r--src/common/compat_libevent.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compat_libevent.h b/src/common/compat_libevent.h
index 3f916d16b0..897eddbbe0 100644
--- a/src/common/compat_libevent.h
+++ b/src/common/compat_libevent.h
@@ -46,7 +46,8 @@ void tor_event_free(struct event *ev);
typedef struct periodic_timer_t periodic_timer_t;
-int tor_run_in_libevent_loop(void (*cb)(void *arg), void *arg);
+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,