summaryrefslogtreecommitdiff
path: root/src/feature/dircache/dircache_stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/dircache/dircache_stub.c')
-rw-r--r--src/feature/dircache/dircache_stub.c44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/feature/dircache/dircache_stub.c b/src/feature/dircache/dircache_stub.c
index f6804dad76..87811597d1 100644
--- a/src/feature/dircache/dircache_stub.c
+++ b/src/feature/dircache/dircache_stub.c
@@ -30,34 +30,6 @@ connection_dirserv_flushed_some(dir_connection_t *conn)
return -1;
}
-int
-directory_caches_unknown_auth_certs(const or_options_t *options)
-{
- (void) options;
- return 0;
-}
-
-int
-directory_caches_dir_info(const or_options_t *options)
-{
- (void) options;
- return 0;
-}
-
-int
-directory_permits_begindir_requests(const or_options_t *options)
-{
- (void) options;
- return 0;
-}
-
-cached_dir_t *
-dirserv_get_consensus(const char *flavor_name)
-{
- (void) flavor_name;
- return NULL;
-}
-
void
dir_conn_clear_spool(dir_connection_t *conn)
{
@@ -71,22 +43,6 @@ consdiffmgr_enable_background_compression(void)
{
}
-void
-dirserv_set_cached_consensus_networkstatus(const char *networkstatus,
- size_t networkstatus_len,
- const char *flavor_name,
- const common_digests_t *digests,
- const uint8_t *sha3_as_signed,
- time_t published)
-{
- (void)networkstatus;
- (void)networkstatus_len;
- (void)flavor_name;
- (void)digests;
- (void)sha3_as_signed;
- (void)published;
-}
-
int
consdiffmgr_add_consensus(const char *consensus,
size_t consensus_len,