diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-23 09:09:30 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-16 11:06:15 -0500 |
commit | 897626953b15ac216d27b3814804524caa9fdd1c (patch) | |
tree | 12b309026b95dbd855546e1e02968e34a03376cd /src/or/entrynodes.h | |
parent | 8edd3d2b6c43bd5eb64d79177e6e4c44ca4fc618 (diff) | |
download | tor-897626953b15ac216d27b3814804524caa9fdd1c.tar.gz tor-897626953b15ac216d27b3814804524caa9fdd1c.zip |
Rebuild the guard lists as appropriate on torrc change.
(Also, prepare to tie guard changes into the mark-all-old-circuits
logic.)
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r-- | src/or/entrynodes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h index d8468eb287..4cbfbf55bf 100644 --- a/src/or/entrynodes.h +++ b/src/or/entrynodes.h @@ -294,7 +294,7 @@ struct circuit_guard_state_t { #endif /* Common entry points for old and new guard code */ -void guards_update_all(void); +int guards_update_all(void); const node_t *guards_choose_guard(cpath_build_state_t *state, circuit_guard_state_t **guard_state_out); const node_t *guards_choose_dirguard(dirinfo_type_t info, @@ -336,7 +336,7 @@ void entry_guard_cancel(guard_selection_t *gs, circuit_guard_state_t **guard_state_p); void entry_guard_chan_failed(guard_selection_t *gs, channel_t *chan); -void entry_guards_update_all(guard_selection_t *gs); +int entry_guards_update_all(guard_selection_t *gs); int entry_guards_upgrade_waiting_circuits(guard_selection_t *gs, const smartlist_t *all_circuits, smartlist_t *newly_complete_out); |