diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-29 10:14:42 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-16 11:06:18 -0500 |
commit | 53f248f6c9d71784c271cf14501ec4c28e5e885d (patch) | |
tree | 75b16a87ae378b930796e631bf1f0f01ac8c55e8 /src/or/routerset.h | |
parent | 1d52ac4d3f67a6e3fac3602f87d00c14060068ab (diff) | |
download | tor-53f248f6c9d71784c271cf14501ec4c28e5e885d.tar.gz tor-53f248f6c9d71784c271cf14501ec4c28e5e885d.zip |
Add some needed accessors/inspectors for bridge/guard convergence
Diffstat (limited to 'src/or/routerset.h')
-rw-r--r-- | src/or/routerset.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/routerset.h b/src/or/routerset.h index c2f7205c3e..2e3b4b0fe0 100644 --- a/src/or/routerset.h +++ b/src/or/routerset.h @@ -26,8 +26,11 @@ int routerset_contains_routerstatus(const routerset_t *set, country_t country); int routerset_contains_extendinfo(const routerset_t *set, const extend_info_t *ei); - +struct bridge_info_t; +int routerset_contains_bridge(const routerset_t *set, + const struct bridge_info_t *bridge); int routerset_contains_node(const routerset_t *set, const node_t *node); + void routerset_get_all_nodes(smartlist_t *out, const routerset_t *routerset, const routerset_t *excludeset, int running_only); |