diff options
author | David Goulet <dgoulet@torproject.org> | 2016-08-10 16:40:06 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2016-11-04 10:32:49 -0400 |
commit | 1aeaba4906d9f0d8901f3ef928f2cbcd049f1140 (patch) | |
tree | cabcd4466e744bdf82b371ce336823dbbede6301 /src/or/hs_cache.h | |
parent | 025610612d78fe0a0ec95dd88c3d44e4bf643603 (diff) | |
download | tor-1aeaba4906d9f0d8901f3ef928f2cbcd049f1140.tar.gz tor-1aeaba4906d9f0d8901f3ef928f2cbcd049f1140.zip |
test: Add prop224 directory cache unit tests
Signed-off-by: David Goulet <dgoulet@torproject.org>
Signed-off-by: George Kadianakis <desnacked@riseup.net>
Diffstat (limited to 'src/or/hs_cache.h')
-rw-r--r-- | src/or/hs_cache.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/hs_cache.h b/src/or/hs_cache.h index 3432d61b14..f0573175d3 100644 --- a/src/or/hs_cache.h +++ b/src/or/hs_cache.h @@ -50,4 +50,10 @@ int hs_cache_store_as_dir(const char *desc); int hs_cache_lookup_as_dir(uint32_t version, const char *query, char **desc_out); +#ifdef HS_CACHE_PRIVATE + +STATIC size_t cache_clean_v3_as_dir(time_t now, time_t global_cutoff); + +#endif /* HS_CACHE_PRIVATE */ + #endif /* TOR_HS_CACHE_H */ |