aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_cache.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2016-09-16 16:39:01 -0400
committerDavid Goulet <dgoulet@torproject.org>2016-11-04 10:32:50 -0400
commit1eed6edf36d57c5f80a13a6884afda798fa2abcd (patch)
tree7cf283ba715f424153f9332bf5f48ece54f57f2e /src/or/hs_cache.h
parent3f29688bdff3d6aa0b47ee7080995f44dbb579de (diff)
downloadtor-1eed6edf36d57c5f80a13a6884afda798fa2abcd.tar.gz
tor-1eed6edf36d57c5f80a13a6884afda798fa2abcd.zip
prop224: Add a cache free all function
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_cache.h')
-rw-r--r--src/or/hs_cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/hs_cache.h b/src/or/hs_cache.h
index 88f84c1270..01abb8002f 100644
--- a/src/or/hs_cache.h
+++ b/src/or/hs_cache.h
@@ -40,6 +40,7 @@ typedef struct hs_cache_dir_descriptor_t {
/* Public API */
void hs_cache_init(void);
+void hs_cache_free_all(void);
void hs_cache_clean_as_dir(time_t now);
size_t hs_cache_handle_oom(time_t now, size_t min_remove_bytes);