aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2017-04-18 03:14:36 +0200
committerNick Mathewson <nickm@torproject.org>2017-04-25 08:06:01 -0400
commit9d5bc1a9354637aa59025f61e577c6d42f8c53ba (patch)
tree509406ce51588c6a7e38586c593313e5303327b4 /src/or/main.c
parente6c6606a17841eaf263967254990db5e9443942d (diff)
downloadtor-9d5bc1a9354637aa59025f61e577c6d42f8c53ba.tar.gz
tor-9d5bc1a9354637aa59025f61e577c6d42f8c53ba.zip
Move zlib compression code into its own module.
This patch refactors the `torgzip` module to allow us to extend a common compression API to support multiple compression backends. Additionally we move the gzip/zlib code into its own module under the name `compress_zlib`. See https://bugs.torproject.org/21664
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 4505879adc..ddd7b82545 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -58,6 +58,7 @@
#include "circuitlist.h"
#include "circuituse.h"
#include "command.h"
+#include "compress_zlib.h"
#include "config.h"
#include "confparse.h"
#include "connection.h"