aboutsummaryrefslogtreecommitdiff
path: root/src/or/conscache.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-26 10:42:11 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-27 21:40:13 -0400
commit7a0964279fafc9912ed5cc4b82abfb81328f5150 (patch)
tree2ee8670626a483744736b6128b81daaea2753af3 /src/or/conscache.h
parent920475f293a8a69dd846cd06249b4b699857a3d4 (diff)
downloadtor-7a0964279fafc9912ed5cc4b82abfb81328f5150.tar.gz
tor-7a0964279fafc9912ed5cc4b82abfb81328f5150.zip
Functionality to ensure there is space to add files to cache.
Diffstat (limited to 'src/or/conscache.h')
-rw-r--r--src/or/conscache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/conscache.h b/src/or/conscache.h
index ea27733df6..aef54201f0 100644
--- a/src/or/conscache.h
+++ b/src/or/conscache.h
@@ -19,6 +19,7 @@ int consensus_cache_register_with_sandbox(consensus_cache_t *cache,
void consensus_cache_unmap_lazy(consensus_cache_t *cache, time_t cutoff);
void consensus_cache_delete_pending(consensus_cache_t *cache,
int force);
+int consensus_cache_get_n_filenames_available(consensus_cache_t *cache);
consensus_cache_entry_t *consensus_cache_add(consensus_cache_t *cache,
const config_line_t *labels,
const uint8_t *data,