diff options
author | Taylor Yu <catalyst@torproject.org> | 2017-03-28 17:34:54 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-04-03 11:58:11 -0400 |
commit | 1e8e8a4e943c171420ae3e90cbd37227780823ed (patch) | |
tree | c6ab448ec5f357ededdc679c250b0fbef331856f /src/or/circuitbuild.h | |
parent | e79f90c7f031b8a7825574f865c77d7034b93a16 (diff) | |
download | tor-1e8e8a4e943c171420ae3e90cbd37227780823ed.tar.gz tor-1e8e8a4e943c171420ae3e90cbd37227780823ed.zip |
Add tests for new_route_len()
Diffstat (limited to 'src/or/circuitbuild.h')
-rw-r--r-- | src/or/circuitbuild.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h index 62a80b2b89..45d9b2fb75 100644 --- a/src/or/circuitbuild.h +++ b/src/or/circuitbuild.h @@ -77,6 +77,9 @@ void circuit_upgrade_circuits_from_guard_wait(void); #ifdef CIRCUITBUILD_PRIVATE STATIC circid_t get_unique_circ_id_by_chan(channel_t *chan); +STATIC int new_route_len(uint8_t purpose, extend_info_t *exit_ei, + smartlist_t *nodes); +MOCK_DECL(STATIC int, count_acceptable_nodes, (smartlist_t *nodes)); #if defined(ENABLE_TOR2WEB_MODE) || defined(TOR_UNIT_TESTS) STATIC const node_t *pick_tor2web_rendezvous_node(router_crn_flags_t flags, const or_options_t *options); |