summaryrefslogtreecommitdiff
path: root/src/or/conscache.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-25 19:52:34 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-25 19:52:34 -0400
commit24f7059704433834a7335286e552eda7f030666f (patch)
tree9230cbc77612c40a4ddcbf1db17e549dfaea6c1a /src/or/conscache.h
parent2655a72d893a784bf9771a4b480efddd9417e4c0 (diff)
downloadtor-24f7059704433834a7335286e552eda7f030666f.tar.gz
tor-24f7059704433834a7335286e552eda7f030666f.zip
Configure sandbox using consdiffmgr; free cdm on exit.
Diffstat (limited to 'src/or/conscache.h')
-rw-r--r--src/or/conscache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/conscache.h b/src/or/conscache.h
index c8cda60e53..f3110e2964 100644
--- a/src/or/conscache.h
+++ b/src/or/conscache.h
@@ -13,6 +13,9 @@ HANDLE_DECL(consensus_cache_entry, consensus_cache_entry_t, )
consensus_cache_t *consensus_cache_open(const char *subdir, int max_entries);
void consensus_cache_free(consensus_cache_t *cache);
+struct sandbox_cfg_elem;
+int consensus_cache_register_with_sandbox(consensus_cache_t *cache,
+ struct sandbox_cfg_elem **cfg);
void consensus_cache_unmap_lazy(consensus_cache_t *cache, time_t cutoff);
void consensus_cache_delete_pending(consensus_cache_t *cache);
consensus_cache_entry_t *consensus_cache_add(consensus_cache_t *cache,