aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.h
diff options
context:
space:
mode:
authorChelsea H. Komlo <chelsea.komlo@gmail.com>2016-10-14 07:00:35 -0500
committerChelsea H. Komlo <chelsea.komlo@gmail.com>2016-11-24 08:12:30 -0500
commitafb6ae7b0fb87550c12e09e5eb7c2a09e675909d (patch)
tree528b13859fd421257f3d94800f31ca71def17134 /src/or/circuitbuild.h
parentb95998ef0c31c78a9952621eb1f7365ceb1d2c84 (diff)
downloadtor-afb6ae7b0fb87550c12e09e5eb7c2a09e675909d.tar.gz
tor-afb6ae7b0fb87550c12e09e5eb7c2a09e675909d.zip
Refactor circuit_predict_and_launch_new
Diffstat (limited to 'src/or/circuitbuild.h')
-rw-r--r--src/or/circuitbuild.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h
index 1244601f71..7a6758919f 100644
--- a/src/or/circuitbuild.h
+++ b/src/or/circuitbuild.h
@@ -40,8 +40,9 @@ int onionskin_answer(or_circuit_t *circ,
const struct created_cell_t *created_cell,
const char *keys,
const uint8_t *rend_circ_nonce);
-int circuit_all_predicted_ports_handled(time_t now, int *need_uptime,
- int *need_capacity);
+MOCK_DECL(int, circuit_all_predicted_ports_handled, (time_t now,
+ int *need_uptime,
+ int *need_capacity));
int circuit_append_new_exit(origin_circuit_t *circ, extend_info_t *info);
int circuit_extend_to_new_exit(origin_circuit_t *circ, extend_info_t *info);