diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-07-05 17:11:22 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-07-19 01:58:44 -0400 |
commit | d2205ca458e25115287462292087f0f5ed797c02 (patch) | |
tree | 51717e10a5347ccb378b97245797babfdaf24447 /src/or/connection.h | |
parent | ddc65e2b3303559ab7b842a176ee6c2eda9e4027 (diff) | |
download | tor-d2205ca458e25115287462292087f0f5ed797c02.tar.gz tor-d2205ca458e25115287462292087f0f5ed797c02.zip |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection.h b/src/or/connection.h index fedeba4b3a..d97729b446 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); |