summaryrefslogtreecommitdiff
path: root/src/or/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/connection.h')
-rw-r--r--src/or/connection.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/connection.h b/src/or/connection.h
index 36860117d1..13a2831227 100644
--- a/src/or/connection.h
+++ b/src/or/connection.h
@@ -12,10 +12,8 @@
#ifndef _TOR_CONNECTION_H
#define _TOR_CONNECTION_H
-#ifndef USE_BUFFEREVENTS
/* XXXX For buf_datalen in inline function */
#include "buffers.h"
-#endif
const char *conn_type_to_string(int type);
const char *conn_state_to_string(int type, int state);
@@ -126,5 +124,9 @@ int connection_or_nonopen_was_started_here(or_connection_t *conn);
void connection_dump_buffer_mem_stats(int severity);
void remove_file_if_very_old(const char *fname, time_t now);
+#ifdef USE_BUFFEREVENTS
+void connection_configure_bufferevent_callbacks(connection_t *conn);
+#endif
+
#endif