aboutsummaryrefslogtreecommitdiff
path: root/src/or/entrynodes.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-14 12:04:42 -0500
committerNick Mathewson <nickm@torproject.org>2016-11-30 14:42:52 -0500
commit823357dbe4874e9726749f1d9d16d85fab949ee5 (patch)
treed712de33dc862c0547ef32d86e2110532d042ded /src/or/entrynodes.h
parentbe447bc7700bc91c3b0f2475c06d1e9e64c90804 (diff)
downloadtor-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.h3
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,