diff options
author | George Kadianakis <desnacked@gmail.com> | 2011-06-14 16:00:55 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@gmail.com> | 2011-06-14 16:00:55 +0200 |
commit | 93526cdf0b9a9df1bcb69454060d24d819c15024 (patch) | |
tree | fc1e988967e27e4cd6258b895dbc581ef1f43cbe /src/or/circuitbuild.h | |
parent | 5b050a9b08fa81421d7e923ef04d06b569f5f742 (diff) | |
download | tor-93526cdf0b9a9df1bcb69454060d24d819c15024.tar.gz tor-93526cdf0b9a9df1bcb69454060d24d819c15024.zip |
Fixes small bugs.
Diffstat (limited to 'src/or/circuitbuild.h')
-rw-r--r-- | src/or/circuitbuild.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h index c1833d23e5..9e05d6e142 100644 --- a/src/or/circuitbuild.h +++ b/src/or/circuitbuild.h @@ -82,7 +82,7 @@ int routerinfo_is_a_configured_bridge(const routerinfo_t *ri); int node_is_a_configured_bridge(const node_t *node); void learned_router_identity(const tor_addr_t *addr, uint16_t port, const char *digest); -void bridge_add_from_config(const tor_addr_t *addr, uint16_t port, +int bridge_add_from_config(const tor_addr_t *addr, uint16_t port, const char *digest, const char *transport_name); void retry_bridge_descriptor_fetch_directly(const char *digest); @@ -142,7 +142,7 @@ int circuit_build_times_get_bw_scale(networkstatus_t *ns); void clear_transport_list(void); int match_bridges_with_transports(void); -void transport_add_from_config(const tor_addr_t *addr, uint16_t port, +int transport_add_from_config(const tor_addr_t *addr, uint16_t port, const char *name, int socks_ver); transport_info_t * find_transport_by_bridge_addrport(const tor_addr_t *addr, uint16_t port); |