diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-05-11 17:20:33 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-27 18:04:44 -0400 |
commit | 3a492d31d5c50ef3b766881ae1d765c296d55797 (patch) | |
tree | c4ae30aa130eb1ed56c38cae719d15dc4f09e7b2 /src/or/networkstatus.h | |
parent | e34d0d3365f5263d2888d63a4d58dc479f191565 (diff) | |
download | tor-3a492d31d5c50ef3b766881ae1d765c296d55797.tar.gz tor-3a492d31d5c50ef3b766881ae1d765c296d55797.zip |
Download microdescriptors if you're a cache
This commit adds some functions to see what microdescriptors we're missing,
and adds fetch-microdesc/store-microdesc logic to the directory code.
Diffstat (limited to 'src/or/networkstatus.h')
-rw-r--r-- | src/or/networkstatus.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/networkstatus.h b/src/or/networkstatus.h index 566171c799..adaddc4982 100644 --- a/src/or/networkstatus.h +++ b/src/or/networkstatus.h @@ -48,7 +48,8 @@ const smartlist_t *networkstatus_get_v2_list(void); download_status_t *router_get_dl_status_by_descriptor_digest(const char *d); routerstatus_t *router_get_consensus_status_by_id(const char *digest); routerstatus_t *router_get_consensus_status_by_descriptor_digest( - const char *digest); + networkstatus_t *consensus, + const char *digest); routerstatus_t *router_get_consensus_status_by_nickname(const char *nickname, int warn_if_unnamed); const char *networkstatus_get_router_digest_by_nickname(const char *nickname); |