summaryrefslogtreecommitdiff
path: root/src/common/compress.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-25 10:51:13 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-25 10:51:13 -0400
commit49868340f7346a7c30603b21d580a3bb54701b0a (patch)
treebca2aa3284e21557338b86db4bb550b2104f0292 /src/common/compress.h
parent232c9e14a8319040c59fd9da1b5d242a57d10a04 (diff)
parent49a5b50b31b8305e63dea5db0cc0de1cb093ff4f (diff)
downloadtor-49868340f7346a7c30603b21d580a3bb54701b0a.tar.gz
tor-49868340f7346a7c30603b21d580a3bb54701b0a.zip
Merge branch 'unified_compress_squashed'
Diffstat (limited to 'src/common/compress.h')
-rw-r--r--src/common/compress.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/compress.h b/src/common/compress.h
index 5dd916b961..cb5caeaf07 100644
--- a/src/common/compress.h
+++ b/src/common/compress.h
@@ -26,11 +26,11 @@ typedef enum {
/**
* Enumeration to define tradeoffs between memory usage and compression level.
- * HIGH_COMPRESSION saves the most bandwidth; LOW_COMPRESSION saves the most
+ * BEST_COMPRESSION saves the most bandwidth; LOW_COMPRESSION saves the most
* memory.
**/
typedef enum {
- HIGH_COMPRESSION, MEDIUM_COMPRESSION, LOW_COMPRESSION
+ BEST_COMPRESSION, HIGH_COMPRESSION, MEDIUM_COMPRESSION, LOW_COMPRESSION
} compression_level_t;
int tor_compress(char **out, size_t *out_len,