diff options
author | Alexander Færøy <ahf@torproject.org> | 2017-04-18 22:19:29 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-04-25 08:10:09 -0400 |
commit | 380736d045f85299121f044928170cff321ae852 (patch) | |
tree | 4b6590a5ee0a5c08e1e128fc8ee9bf0938e75bc8 /src/common/compress.h | |
parent | ce1feae9d9a4366e3cd93a68416841d0c6a636c5 (diff) | |
download | tor-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.h | 3 |
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; /** |