summaryrefslogtreecommitdiff
path: root/src/or/consdiffmgr.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-05-05 11:17:59 -0400
committerAlexander Færøy <ahf@torproject.org>2017-05-12 17:45:07 +0200
commit151cd121a2733506c69162330b210c3c45044dfa (patch)
tree291711a205c54d2962a210f5ff5f48b546036241 /src/or/consdiffmgr.h
parent6da31ec4848b23db4b923ff5141c24b82f466c8d (diff)
downloadtor-151cd121a2733506c69162330b210c3c45044dfa.tar.gz
tor-151cd121a2733506c69162330b210c3c45044dfa.zip
consdiffmgr: compress incoming consensuses in the background
Also, compress them in several ways. This breaks the unit tests; subsequent commits will make them pass again.
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 048dae432c..cbff599381 100644
--- a/src/or/consdiffmgr.h
+++ b/src/or/consdiffmgr.h
@@ -32,6 +32,7 @@ consdiff_status_t consdiffmgr_find_diff_from(
compress_method_t method);
void consdiffmgr_rescan(void);
int consdiffmgr_cleanup(void);
+void consdiffmgr_enable_background_compression(void);
void consdiffmgr_configure(const consdiff_cfg_t *cfg);
struct sandbox_cfg_elem;
int consdiffmgr_register_with_sandbox(struct sandbox_cfg_elem **cfg);