summaryrefslogtreecommitdiff
path: root/src/common/compress.h
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2017-04-18 14:30:44 +0200
committerNick Mathewson <nickm@torproject.org>2017-04-25 08:10:06 -0400
commitbf1c07cb07c27ca65ab66cf41442cfaabd9bb067 (patch)
tree2a3cf90c212e253548991e2309cf2880918d9468 /src/common/compress.h
parent157af1d26e3cdfc3159c1085f35e5ddcda7ccd21 (diff)
downloadtor-bf1c07cb07c27ca65ab66cf41442cfaabd9bb067.tar.gz
tor-bf1c07cb07c27ca65ab66cf41442cfaabd9bb067.zip
Add LZMA support.
See: https://bugs.torproject.org/21662
Diffstat (limited to 'src/common/compress.h')
-rw-r--r--src/common/compress.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/compress.h b/src/common/compress.h
index c347e1c184..3e3ab3a574 100644
--- a/src/common/compress.h
+++ b/src/common/compress.h
@@ -15,7 +15,11 @@
* GZIP_METHOD is guaranteed to be supported by the compress/uncompress
* functions here. */
typedef enum {
- NO_METHOD=0, GZIP_METHOD=1, ZLIB_METHOD=2, UNKNOWN_METHOD=3
+ NO_METHOD=0,
+ GZIP_METHOD=1,
+ ZLIB_METHOD=2,
+ LZMA_METHOD=3,
+ UNKNOWN_METHOD=4
} compress_method_t;
/**