aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@gmail.com>2011-06-21 18:48:43 +0200
committerGeorge Kadianakis <desnacked@gmail.com>2011-06-21 18:48:43 +0200
commit298f1700367f4d17cf376ea09442b23e7f16229b (patch)
treedaca009ed4b5b7fdc4642df8f0c26d8b3bda6942 /src/or/connection.h
parent392e947df5db1d2cdd0cbd0d63226f734dfd7267 (diff)
downloadtor-298f1700367f4d17cf376ea09442b23e7f16229b.tar.gz
tor-298f1700367f4d17cf376ea09442b23e7f16229b.zip
Tweaked connection{.c,.h,_or.c} based on nick's comments.
* Tweaked doxygen comments. * Changed returns of get_proxy_addrport(). * Ran make check-spaces. * Various small code tweaks.
Diffstat (limited to 'src/or/connection.h')
-rw-r--r--src/or/connection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection.h b/src/or/connection.h
index 544e9392d0..34be9cc215 100644
--- a/src/or/connection.h
+++ b/src/or/connection.h
@@ -58,10 +58,10 @@ int connection_connect(connection_t *conn, const char *address,
int connection_proxy_connect(connection_t *conn, int type);
int connection_read_proxy_handshake(connection_t *conn);
void log_failed_proxy_connection(connection_t *conn);
-int get_proxy_addrport(int proxy_type, tor_addr_t *addr, uint16_t *port, connection_t *conn);
+int get_proxy_addrport(int proxy_type, tor_addr_t *addr,
+ uint16_t *port, connection_t *conn);
int get_proxy_type(void);
-
int retry_all_listeners(smartlist_t *replaced_conns,
smartlist_t *new_conns);