aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-18 12:55:09 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-18 12:55:09 -0400
commitf0daaf8d60be8bfcfaa99e3a878cd90967a84bb0 (patch)
treeac80b6c94e5e173ff2c2d399ca0ca607bdc9ef9a /src/or/connection.h
parent4eb5753bd29b24fd5a523499add35a6214293cd9 (diff)
downloadtor-f0daaf8d60be8bfcfaa99e3a878cd90967a84bb0.tar.gz
tor-f0daaf8d60be8bfcfaa99e3a878cd90967a84bb0.zip
Expose connection_init_accepted_conn.
Diffstat (limited to 'src/or/connection.h')
-rw-r--r--src/or/connection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection.h b/src/or/connection.h
index 4a5bd6971b..7f488676ed 100644
--- a/src/or/connection.h
+++ b/src/or/connection.h
@@ -26,7 +26,8 @@ entry_connection_t *entry_connection_new(int type, int socket_family);
control_connection_t *control_connection_new(int socket_family);
listener_connection_t *listener_connection_new(int type, int socket_family);
connection_t *connection_new(int type, int socket_family);
-
+int connection_init_accepted_conn(connection_t *conn,
+ const listener_connection_t *listener);
void connection_link_connections(connection_t *conn_a, connection_t *conn_b);
MOCK_DECL(void,connection_free,(connection_t *conn));
void connection_free_all(void);