aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.h
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-12-18 11:29:47 +1100
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-01-29 07:13:57 +1100
commite72cbf7a4e346f0d379961520db8bea7e9249f88 (patch)
tree5ba71d7d1db3926547f5cce0447fe7647bd5b124 /src/or/routerlist.h
parent268608c0a0605e596d1a884ee35d432c88bac38b (diff)
downloadtor-e72cbf7a4e346f0d379961520db8bea7e9249f88.tar.gz
tor-e72cbf7a4e346f0d379961520db8bea7e9249f88.zip
Choose directory servers by IPv4/IPv6 preferences
Add unit tests, refactor pick_directory functions.
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r--src/or/routerlist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h
index 4c828d6572..ac286d904f 100644
--- a/src/or/routerlist.h
+++ b/src/or/routerlist.h
@@ -243,6 +243,8 @@ MOCK_DECL(STATIC was_router_added_t, extrainfo_insert,
MOCK_DECL(STATIC void, initiate_descriptor_downloads,
(const routerstatus_t *source, int purpose, smartlist_t *digests,
int lo, int hi, int pds_flags));
+STATIC int router_is_already_dir_fetching(const tor_addr_port_t *ap,
+ int serverdesc, int microdesc);
#endif