diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-23 15:08:07 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-16 11:06:15 -0500 |
commit | a7bc73935b030100b0d7b9f39c5dec5ef6eb0a85 (patch) | |
tree | 13f36d25abad37405fc01449706f2e28b458da27 /src/or/entrynodes.h | |
parent | 526b0e2ce2c5d31c70eb3e48eda59b34e9eb681d (diff) | |
download | tor-a7bc73935b030100b0d7b9f39c5dec5ef6eb0a85.tar.gz tor-a7bc73935b030100b0d7b9f39c5dec5ef6eb0a85.zip |
Test get_guard_selection_by_name
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r-- | src/or/entrynodes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h index a514c13a8e..285664da18 100644 --- a/src/or/entrynodes.h +++ b/src/or/entrynodes.h @@ -416,6 +416,8 @@ int num_bridges_usable(void); // ---------- XXXX these functions and definitions are post-prop271. HANDLE_DECL(entry_guard, entry_guard_t, STATIC) STATIC guard_selection_t *guard_selection_new(const char *name); +STATIC guard_selection_t *get_guard_selection_by_name( + const char *name, int create_if_absent); STATIC void guard_selection_free(guard_selection_t *gs); STATIC entry_guard_t *get_sampled_guard_with_id(guard_selection_t *gs, const uint8_t *rsa_id); |