diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2012-12-07 17:47:23 -0800 |
---|---|---|
committer | Mike Perry <mikeperry-git@fscked.org> | 2012-12-07 17:47:23 -0800 |
commit | 26fa47226cab49b260ba764aa050880f71927ea0 (patch) | |
tree | 5426fb2a5842c185b5864e5458171f422a67dd89 /src/or/circuitbuild.h | |
parent | c3b71a3fc96c6f3eaaebd96ef8c15d4298d9639e (diff) | |
download | tor-26fa47226cab49b260ba764aa050880f71927ea0.tar.gz tor-26fa47226cab49b260ba764aa050880f71927ea0.zip |
Refactor path use bias code into own function.
Also, improve and log some failure cases.
Diffstat (limited to 'src/or/circuitbuild.h')
-rw-r--r-- | src/or/circuitbuild.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h index 2d9eac1215..53c9fe5c0f 100644 --- a/src/or/circuitbuild.h +++ b/src/or/circuitbuild.h @@ -56,8 +56,6 @@ const node_t *choose_good_entry_server(uint8_t purpose, double pathbias_get_extreme_rate(const or_options_t *options); int pathbias_get_dropguards(const or_options_t *options); void pathbias_count_timeout(origin_circuit_t *circ); -void pathbias_count_successful_close(origin_circuit_t *circ); -void pathbias_count_collapse(origin_circuit_t *circ); -void pathbias_count_unusable(origin_circuit_t *circ); +void pathbias_check_close(origin_circuit_t *circ, int reason); #endif |