aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat_libevent.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-02 13:20:59 -0400
committerNick Mathewson <nickm@torproject.org>2016-08-02 13:22:06 -0400
commit8fd6b0fc46a63b99903ae340da1793db127ce680 (patch)
treeebd9212557cbcc290b1e35b5476e34427ff93b6a /src/common/compat_libevent.h
parentc68a23a135369380dad5cb1ff393edee74e6d6ac (diff)
downloadtor-8fd6b0fc46a63b99903ae340da1793db127ce680.tar.gz
tor-8fd6b0fc46a63b99903ae340da1793db127ce680.zip
Remove USE_BUFFEREVENTS code outside src/or
Diffstat (limited to 'src/common/compat_libevent.h')
-rw-r--r--src/common/compat_libevent.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/common/compat_libevent.h b/src/common/compat_libevent.h
index 89b35c9faa..d9ccf1aabf 100644
--- a/src/common/compat_libevent.h
+++ b/src/common/compat_libevent.h
@@ -9,10 +9,6 @@
#include <event2/event.h>
-#ifdef USE_BUFFEREVENTS
-#include <event2/bufferevent.h>
-#endif
-
void configure_libevent_logging(void);
void suppress_libevent_log_msg(const char *msg);
@@ -54,15 +50,6 @@ void tor_check_libevent_header_compatibility(void);
const char *tor_libevent_get_version_str(void);
const char *tor_libevent_get_header_version_str(void);
-#ifdef USE_BUFFEREVENTS
-const struct timeval *tor_libevent_get_one_tick_timeout(void);
-int tor_libevent_using_iocp_bufferevents(void);
-int tor_set_bufferevent_rate_limit(struct bufferevent *bev,
- struct ev_token_bucket_cfg *cfg);
-int tor_add_bufferevent_to_rate_limit_group(struct bufferevent *bev,
- struct bufferevent_rate_limit_group *g);
-#endif
-
int tor_init_libevent_rng(void);
void tor_gettimeofday_cached(struct timeval *tv);