diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-09-14 22:19:00 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-14 22:19:00 -0400 |
commit | f5b7e039f39d881fc8f48c2e6004e605ca0e24c1 (patch) | |
tree | a14686a165f09e6751e9baeea420c016b42b7e1e /src/or/routerlist.h | |
parent | b2473357f214a5459b4d6e166150bd6cb1ac2873 (diff) | |
download | tor-f5b7e039f39d881fc8f48c2e6004e605ca0e24c1.tar.gz tor-f5b7e039f39d881fc8f48c2e6004e605ca0e24c1.zip |
Extract the "do these routers have the same addr:orport" logic into a fn
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r-- | src/or/routerlist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h index d71a737b88..6ba8678595 100644 --- a/src/or/routerlist.h +++ b/src/or/routerlist.h @@ -35,6 +35,7 @@ int router_get_my_share_of_directory_requests(double *v2_share_out, void router_reset_status_download_failures(void); void routerlist_add_family(smartlist_t *sl, routerinfo_t *router); int routers_in_same_family(routerinfo_t *r1, routerinfo_t *r2); +int routers_have_same_or_addr(const routerinfo_t *r1, const routerinfo_t *r2); void add_nickname_list_to_smartlist(smartlist_t *sl, const char *list, int must_be_running); int router_nickname_is_in_list(routerinfo_t *router, const char *list); |