aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-07-05 17:11:22 -0400
committerNick Mathewson <nickm@torproject.org>2011-07-19 01:58:44 -0400
commitd2205ca458e25115287462292087f0f5ed797c02 (patch)
tree51717e10a5347ccb378b97245797babfdaf24447 /src/or/connection.h
parentddc65e2b3303559ab7b842a176ee6c2eda9e4027 (diff)
downloadtor-d2205ca458e25115287462292087f0f5ed797c02.tar
tor-d2205ca458e25115287462292087f0f5ed797c02.tar.gz
Refactor listener_connection_t into its own type.
This will allow us to add more fields to listener_connection_t without bloating the other connection types.
Diffstat (limited to 'src/or/connection.h')
-rw-r--r--src/or/connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection.h b/src/or/connection.h
index fedeba4b3..d97729b44 100644
--- a/src/or/connection.h
+++ b/src/or/connection.h
@@ -22,6 +22,7 @@ dir_connection_t *dir_connection_new(int socket_family);
or_connection_t *or_connection_new(int socket_family);
edge_connection_t *edge_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);
void connection_link_connections(connection_t *conn_a, connection_t *conn_b);