diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-01-15 11:43:14 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-01-16 07:48:17 -0500 |
commit | 773bcf56290674cdc157f6e39894d31b366f8c50 (patch) | |
tree | 550b3336f71ae55ea335192c84cd88d87c702f2e /src/feature/dircache/dircache_stub.c | |
parent | a1bc471dd477864105cc13e8ab69ebd05619ea9b (diff) | |
download | tor-773bcf56290674cdc157f6e39894d31b366f8c50.tar.gz tor-773bcf56290674cdc157f6e39894d31b366f8c50.zip |
Move dirclient-related functions out of dirserv, and reenable them
I had incorrectly identified these functions as dircache-only, when
in fact they apply to everyone who acts a directory client.
Diffstat (limited to 'src/feature/dircache/dircache_stub.c')
-rw-r--r-- | src/feature/dircache/dircache_stub.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/feature/dircache/dircache_stub.c b/src/feature/dircache/dircache_stub.c index dcab3bbbb9..f6804dad76 100644 --- a/src/feature/dircache/dircache_stub.c +++ b/src/feature/dircache/dircache_stub.c @@ -31,27 +31,6 @@ connection_dirserv_flushed_some(dir_connection_t *conn) } int -directory_fetches_from_authorities(const or_options_t *options) -{ - (void) options; - return 0; -} - -int -directory_fetches_dir_info_early(const or_options_t *options) -{ - (void) options; - return 0; -} - -int -directory_fetches_dir_info_later(const or_options_t *options) -{ - (void) options; - return 0; -} - -int directory_caches_unknown_auth_certs(const or_options_t *options) { (void) options; @@ -72,15 +51,6 @@ directory_permits_begindir_requests(const or_options_t *options) return 0; } -int -directory_too_idle_to_fetch_descriptors(const or_options_t *options, - time_t now) -{ - (void)options; - (void)now; - return 0; -} - cached_dir_t * dirserv_get_consensus(const char *flavor_name) { |