summaryrefslogtreecommitdiff
path: root/src/or/consdiffmgr.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-05-05 12:10:45 -0400
committerAlexander Færøy <ahf@torproject.org>2017-05-12 17:45:44 +0200
commitdb370bb8a8fd65a902d3abd996ace019db4c296c (patch)
treeaecc0869b4647f94b1132f22e72e22d71eeeb541 /src/or/consdiffmgr.h
parent30dfb36148c05b8757f3ac263a8473b7aeba0ac5 (diff)
downloadtor-db370bb8a8fd65a902d3abd996ace019db4c296c.tar.gz
tor-db370bb8a8fd65a902d3abd996ace019db4c296c.zip
Test fix: expect old consensuses to be deleted if not deflate-compressed
Diffstat (limited to 'src/or/consdiffmgr.h')
-rw-r--r--src/or/consdiffmgr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/consdiffmgr.h b/src/or/consdiffmgr.h
index 5f7e944f55..abe1ea9dc3 100644
--- a/src/or/consdiffmgr.h
+++ b/src/or/consdiffmgr.h
@@ -46,6 +46,7 @@ int consdiffmgr_validate(void);
#ifdef CONSDIFFMGR_PRIVATE
STATIC unsigned n_diff_compression_methods(void);
+STATIC unsigned n_consensus_compression_methods(void);
STATIC consensus_cache_t *cdm_cache_get(void);
STATIC consensus_cache_entry_t *cdm_cache_lookup_consensus(
consensus_flavor_t flavor, time_t valid_after);