diff --git a/include/dpusm/common.h b/include/dpusm/common.h index a2912d5..e8a9f7f 100644 --- a/include/dpusm/common.h +++ b/include/dpusm/common.h @@ -41,8 +41,9 @@ typedef enum { DPUSM_COMPRESS_GZIP_8 = 1 << 7, DPUSM_COMPRESS_GZIP_9 = 1 << 8, DPUSM_COMPRESS_LZ4 = 1 << 9, + DPUSM_COMPRESS_ZSTD = 1 << 10, - DPUSM_COMPRESS_MAX = 1 << 10, + DPUSM_COMPRESS_MAX = 1 << 11, } dpusm_compress_t; extern const char *DPUSM_COMPRESS_STR[]; diff --git a/src/common.c b/src/common.c index a6adf1d..95fee1e 100644 --- a/src/common.c +++ b/src/common.c @@ -23,6 +23,7 @@ const char *DPUSM_COMPRESS_STR[] = { "GZIP Level 8", "GZIP Level 9", "LZ4", + "ZSTD", }; const char **DPUSM_DECOMPRESS_STR = DPUSM_COMPRESS_STR;