diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-17 12:15:53 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-17 12:15:53 -0400 |
commit | 36909674b45d05854b821b6ac5952126a2cd2ab3 (patch) | |
tree | 76ea7ebde26ef0a1296d65681c533c5f4ef8d40a /src/or/routerlist.h | |
parent | 5e5d4c99c131279931b702aa2a02639e9bdc0062 (diff) | |
parent | cdb528d841e753b6cc0b8d8b2aeb6bed183a1a8d (diff) | |
download | tor-36909674b45d05854b821b6ac5952126a2cd2ab3.tar.gz tor-36909674b45d05854b821b6ac5952126a2cd2ab3.zip |
Merge remote-tracking branch 'teor/bug18963-remember-v2'
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r-- | src/or/routerlist.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h index 2166cf5114..bd0fa0292f 100644 --- a/src/or/routerlist.h +++ b/src/or/routerlist.h @@ -29,7 +29,7 @@ int trusted_dirs_reload_certs(void); #define TRUSTED_DIRS_CERTS_SRC_FROM_VOTE 4 int trusted_dirs_load_certs_from_string(const char *contents, int source, - int flush); + int flush, const char *source_dir); void trusted_dirs_flush_certs_to_disk(void); authority_cert_t *authority_cert_get_newest_by_id(const char *id_digest); authority_cert_t *authority_cert_get_by_sk_digest(const char *sk_digest); @@ -38,7 +38,8 @@ authority_cert_t *authority_cert_get_by_digests(const char *id_digest, void authority_cert_get_all(smartlist_t *certs_out); void authority_cert_dl_failed(const char *id_digest, const char *signing_key_digest, int status); -void authority_certs_fetch_missing(networkstatus_t *status, time_t now); +void authority_certs_fetch_missing(networkstatus_t *status, time_t now, + const char *dir_hint); int router_reload_router_list(void); int authority_cert_dl_looks_uncertain(const char *id_digest); const smartlist_t *router_get_trusted_dir_servers(void); |