aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2014-03-10 22:52:07 +0000
committerGeorge Kadianakis <desnacked@riseup.net>2014-03-10 22:52:07 +0000
commit1c475eb018989f090c1423c25dc2f09380b10693 (patch)
tree07a71f4cc5aad46333bfdaf5b851204f231b9b78 /src/or/connection.h
parent0b7a66fac76445087651a1dd2d171bf043c9f345 (diff)
downloadtor-1c475eb018989f090c1423c25dc2f09380b10693.tar.gz
tor-1c475eb018989f090c1423c25dc2f09380b10693.zip
Throw control port warning if we failed to connect to all our bridges.
Diffstat (limited to 'src/or/connection.h')
-rw-r--r--src/or/connection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/connection.h b/src/or/connection.h
index fa076504b7..13dcbcd919 100644
--- a/src/or/connection.h
+++ b/src/or/connection.h
@@ -187,6 +187,8 @@ connection_t *connection_get_by_type_state_rendquery(int type, int state,
dir_connection_t *connection_dir_get_by_purpose_and_resource(
int state, const char *resource);
+int any_other_active_or_conns(const or_connection_t *this_conn);
+
#define connection_speaks_cells(conn) ((conn)->type == CONN_TYPE_OR)
int connection_is_listener(connection_t *conn);
int connection_state_is_open(connection_t *conn);