summaryrefslogtreecommitdiff
path: root/src/or/rendcache.h
diff options
context:
space:
mode:
authorDonncha O'Cearbhaill <donncha@donncha.is>2015-08-25 16:35:35 +0200
committerDonncha O'Cearbhaill <donncha@donncha.is>2015-09-08 12:34:05 +0200
commit335d0b95d36bada44e720b365f6482ce8f54c1d7 (patch)
treee78cdfadbf0bcfdff8733d351994728e71649e61 /src/or/rendcache.h
parentee1a4ce8b2d927dff5e8feafe8b0363d57a4f32e (diff)
downloadtor-335d0b95d36bada44e720b365f6482ce8f54c1d7.tar.gz
tor-335d0b95d36bada44e720b365f6482ce8f54c1d7.zip
Clean old descriptors from the service-side rend cache
Parameterize the rend_cache_clean() function to allow it clean old rendezvous descriptors from the service-side cache as well as the client descriptor cache.
Diffstat (limited to 'src/or/rendcache.h')
-rw-r--r--src/or/rendcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendcache.h b/src/or/rendcache.h
index e13c9b4d1d..f04d0871ae 100644
--- a/src/or/rendcache.h
+++ b/src/or/rendcache.h
@@ -54,7 +54,7 @@ typedef enum {
} rend_cache_type_t;
void rend_cache_init(void);
-void rend_cache_clean(time_t now);
+void rend_cache_clean(time_t now, rend_cache_type_t cache_type);
void rend_cache_failure_clean(time_t now);
void rend_cache_clean_v2_descs_as_dir(time_t now, size_t min_to_remove);
void rend_cache_purge(void);