aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-09-13 13:16:37 -0400
committerNick Mathewson <nickm@torproject.org>2012-09-14 10:20:01 -0400
commitc2c6d12a81bc46eaf2d017e4f9cd6f66cb145acb (patch)
tree053b4d9833232955031ee1ff98ba44c87c739ef8 /src/or/networkstatus.h
parent725d3a32bd025642a0b9ada0d2202508cbe9bbbe (diff)
downloadtor-c2c6d12a81bc46eaf2d017e4f9cd6f66cb145acb.tar
tor-c2c6d12a81bc46eaf2d017e4f9cd6f66cb145acb.tar.gz
Move functions for seeing if we know enough nodes into nodelist
Diffstat (limited to 'src/or/networkstatus.h')
-rw-r--r--src/or/networkstatus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/networkstatus.h b/src/or/networkstatus.h
index 0af17512d..dcd58f889 100644
--- a/src/or/networkstatus.h
+++ b/src/or/networkstatus.h
@@ -71,6 +71,8 @@ int should_delay_dir_fetches(const or_options_t *options);
void update_networkstatus_downloads(time_t now);
void update_certificate_downloads(time_t now);
int consensus_is_waiting_for_certs(void);
+int client_would_use_router(const routerstatus_t *rs, time_t now,
+ const or_options_t *options);
networkstatus_v2_t *networkstatus_v2_get_by_digest(const char *digest);
networkstatus_t *networkstatus_get_latest_consensus(void);
networkstatus_t *networkstatus_get_latest_consensus_by_flavor(