diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-09-13 13:16:37 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-09-14 10:20:01 -0400 |
commit | c2c6d12a81bc46eaf2d017e4f9cd6f66cb145acb (patch) | |
tree | 053b4d9833232955031ee1ff98ba44c87c739ef8 /src/or/nodelist.h | |
parent | 725d3a32bd025642a0b9ada0d2202508cbe9bbbe (diff) | |
download | tor-c2c6d12a81bc46eaf2d017e4f9cd6f66cb145acb.tar.gz tor-c2c6d12a81bc46eaf2d017e4f9cd6f66cb145acb.zip |
Move functions for seeing if we know enough nodes into nodelist
Diffstat (limited to 'src/or/nodelist.h')
-rw-r--r-- | src/or/nodelist.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/nodelist.h b/src/or/nodelist.h index 01943ed30f..2e978f1782 100644 --- a/src/or/nodelist.h +++ b/src/or/nodelist.h @@ -72,6 +72,11 @@ int node_is_unreliable(const node_t *router, int need_uptime, int need_capacity, int need_guard); int router_exit_policy_all_nodes_reject(const tor_addr_t *addr, uint16_t port, int need_uptime); +void router_set_status(const char *digest, int up); +int router_have_minimum_dir_info(void); +void router_dir_info_changed(void); +const char *get_dir_info_status_string(void); +int count_loading_descriptors_progress(void); #endif |