diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-14 12:04:42 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-30 14:42:52 -0500 |
commit | 823357dbe4874e9726749f1d9d16d85fab949ee5 (patch) | |
tree | d712de33dc862c0547ef32d86e2110532d042ded /src/or/entrynodes.h | |
parent | be447bc7700bc91c3b0f2475c06d1e9e64c90804 (diff) | |
download | tor-823357dbe4874e9726749f1d9d16d85fab949ee5.tar.gz tor-823357dbe4874e9726749f1d9d16d85fab949ee5.zip |
Add an entry_guard_describe() function
This function helpfully removes all but one remaining use of
an entry_guard_t private field in pathbias.c
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r-- | src/or/entrynodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h index 3320c5cf7d..97ae3ac378 100644 --- a/src/or/entrynodes.h +++ b/src/or/entrynodes.h @@ -100,10 +100,11 @@ int num_live_entry_guards_for_guard_selection( guard_selection_t *gs, int for_directory); int num_live_entry_guards(int for_directory); - #endif const node_t *entry_guard_find_node(const entry_guard_t *guard); +void entry_guard_mark_bad(entry_guard_t *guard); +const char *entry_guard_describe(const entry_guard_t *guard); #ifdef ENTRYNODES_PRIVATE STATIC const node_t *add_an_entry_guard(guard_selection_t *gs, |