diff options
author | George Kadianakis <desnacked@riseup.net> | 2012-07-12 15:28:43 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2012-07-12 15:28:43 +0200 |
commit | 8b9f4d75f27728ca5f07c1eb00d4144cb3b33eac (patch) | |
tree | 37e4c07f6a86c6f4117a9f6e33b2ecfdaa02ca1e /src/or/circuitbuild.h | |
parent | f8e49c57893f35b9b3c45865d00040bd05e53f0c (diff) | |
download | tor-8b9f4d75f27728ca5f07c1eb00d4144cb3b33eac.tar.gz tor-8b9f4d75f27728ca5f07c1eb00d4144cb3b33eac.zip |
Address Nick's comments.
- Add a changes/ file.
- Make it compile under --enable-gcc-warnings.
- Update the file-level documentation of src/or/transports.c.
- Only update descriptor if at least a managed proxy was configured.
- Add our external IP address to the extra-info descriptor instead of 0.0.0.0.
Diffstat (limited to 'src/or/circuitbuild.h')
-rw-r--r-- | src/or/circuitbuild.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h index e6783d832f..a7beccebb6 100644 --- a/src/or/circuitbuild.h +++ b/src/or/circuitbuild.h @@ -12,8 +12,6 @@ #ifndef _TOR_CIRCUITBUILD_H #define _TOR_CIRCUITBUILD_H -#include "transports.h" - char *circuit_list_path(origin_circuit_t *circ, int verbose); char *circuit_list_path_for_controller(origin_circuit_t *circ); void circuit_log_path(int severity, unsigned int domain, @@ -136,6 +134,10 @@ void circuit_build_times_network_circ_success(circuit_build_times_t *cbt); /* DOCDOC circuit_build_times_get_bw_scale */ int circuit_build_times_get_bw_scale(networkstatus_t *ns); +/* DOCDOC find_transport_name_by_bridge_addrport */ +const char *find_transport_name_by_bridge_addrport(const tor_addr_t *addr, + uint16_t port); +typedef struct transport_t transport_t; int find_transport_by_bridge_addrport(const tor_addr_t *addr, uint16_t port, const transport_t **transport); |