From 5fa927aa97424f1e5752401141037fbb5d7ab79e Mon Sep 17 00:00:00 2001 From: slyrz Date: Tue, 14 Mar 2017 12:00:38 -0700 Subject: [PATCH] Add Xpress and ZSTD CompressionType values to C header Summary: This PR copies the missing CompressionType values ```cpp enum CompressionType : unsigned char { ... kXpressCompression = 0x6, kZSTD = 0x7, ... }; ``` into the C header. Closes https://github.com/facebook/rocksdb/pull/1989 Differential Revision: D4706265 Pulled By: siying fbshipit-source-id: e65e62a --- include/rocksdb/c.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/rocksdb/c.h b/include/rocksdb/c.h index 0c7614a23..5b0ee991e 100644 --- a/include/rocksdb/c.h +++ b/include/rocksdb/c.h @@ -753,7 +753,9 @@ enum { rocksdb_zlib_compression = 2, rocksdb_bz2_compression = 3, rocksdb_lz4_compression = 4, - rocksdb_lz4hc_compression = 5 + rocksdb_lz4hc_compression = 5, + rocksdb_xpress_compression = 6, + rocksdb_zstd_compression = 7 }; extern ROCKSDB_LIBRARY_API void rocksdb_options_set_compression( rocksdb_options_t*, int);