summaryrefslogtreecommitdiff
path: root/src/common/compress.h
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2017-04-18 22:19:29 +0200
committerNick Mathewson <nickm@torproject.org>2017-04-25 08:10:09 -0400
commit380736d045f85299121f044928170cff321ae852 (patch)
tree4b6590a5ee0a5c08e1e128fc8ee9bf0938e75bc8 /src/common/compress.h
parentce1feae9d9a4366e3cd93a68416841d0c6a636c5 (diff)
downloadtor-380736d045f85299121f044928170cff321ae852.tar.gz
tor-380736d045f85299121f044928170cff321ae852.zip
Add Zstandard support.
See: https://bugs.torproject.org/21662
Diffstat (limited to 'src/common/compress.h')
-rw-r--r--src/common/compress.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compress.h b/src/common/compress.h
index 3e3ab3a574..59e7a79061 100644
--- a/src/common/compress.h
+++ b/src/common/compress.h
@@ -19,7 +19,8 @@ typedef enum {
GZIP_METHOD=1,
ZLIB_METHOD=2,
LZMA_METHOD=3,
- UNKNOWN_METHOD=4
+ ZSTD_METHOD=4,
+ UNKNOWN_METHOD=5
} compress_method_t;
/**