diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-02-09 12:08:12 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-02-09 12:08:12 -0500 |
commit | abdf2a6f7f400bf7769b701c79b51e51f1cc9e55 (patch) | |
tree | 98a3ca09c057afef4f4ac1e2152bc9c33669319a /src/or/nodelist.h | |
parent | d9826b0a30f42754dc5764ce02c7b0271d996c92 (diff) | |
parent | 1a4fc9cddf27595db6f5da981a557f768fa32f66 (diff) | |
download | tor-abdf2a6f7f400bf7769b701c79b51e51f1cc9e55.tar.gz tor-abdf2a6f7f400bf7769b701c79b51e51f1cc9e55.zip |
Merge remote-tracking branch 'dgoulet/ticket24902_029_05'
Diffstat (limited to 'src/or/nodelist.h')
-rw-r--r-- | src/or/nodelist.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/nodelist.h b/src/or/nodelist.h index 0abdcd6045..dc20eaf0a5 100644 --- a/src/or/nodelist.h +++ b/src/or/nodelist.h @@ -29,6 +29,7 @@ const node_t *node_get_by_hex_id(const char *identity_digest, node_t *nodelist_set_routerinfo(routerinfo_t *ri, routerinfo_t **ri_old_out); node_t *nodelist_add_microdesc(microdesc_t *md); void nodelist_set_consensus(networkstatus_t *ns); +int nodelist_probably_contains_address(const tor_addr_t *addr); void nodelist_remove_microdesc(const char *identity_digest, microdesc_t *md); void nodelist_remove_routerinfo(routerinfo_t *ri); @@ -154,5 +155,7 @@ node_set_hsdir_index(node_t *node, const networkstatus_t *ns); #endif /* defined(NODELIST_PRIVATE) */ +MOCK_DECL(int, get_estimated_address_per_node, (void)); + #endif /* !defined(TOR_NODELIST_H) */ |