aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.h
diff options
context:
space:
mode:
authorU+039b <*@0x39b.fr>2016-07-14 18:46:37 +0200
committerU+039b <*@0x39b.fr>2016-07-14 18:46:37 +0200
commitc735220a0b4c2c7852145fe8e9bf2584d4901d1f (patch)
treeec0e221422b4336798eb6fd6491f5dae0e56493d /src/or/connection.h
parent3ac434104af0a40e75bfb5116046eae1cd51f6d3 (diff)
downloadtor-c735220a0b4c2c7852145fe8e9bf2584d4901d1f.tar.gz
tor-c735220a0b4c2c7852145fe8e9bf2584d4901d1f.zip
Remove bufferevents dead code
Signed-off-by: U+039b <*@0x39b.fr>
Diffstat (limited to 'src/or/connection.h')
-rw-r--r--src/or/connection.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/or/connection.h b/src/or/connection.h
index 4835235fba..7f659dce70 100644
--- a/src/or/connection.h
+++ b/src/or/connection.h
@@ -257,19 +257,7 @@ void clock_skew_warning(const connection_t *conn, long apparent_skew,
int trusted, log_domain_mask_t domain,
const char *received, const char *source);
-#ifdef USE_BUFFEREVENTS
-int connection_type_uses_bufferevent(connection_t *conn);
-void connection_configure_bufferevent_callbacks(connection_t *conn);
-void connection_handle_read_cb(struct bufferevent *bufev, void *arg);
-void connection_handle_write_cb(struct bufferevent *bufev, void *arg);
-void connection_handle_event_cb(struct bufferevent *bufev, short event,
- void *arg);
-void connection_get_rate_limit_totals(uint64_t *read_out,
- uint64_t *written_out);
-void connection_enable_rate_limiting(connection_t *conn);
-#else
#define connection_type_uses_bufferevent(c) (0)
-#endif
#ifdef CONNECTION_PRIVATE
STATIC void connection_free_(connection_t *conn);