Skip to content

Commit

Permalink
add ZSTD
Browse files Browse the repository at this point in the history
  • Loading branch information
calccrypto committed Mar 27, 2024
1 parent 4a98042 commit bc5e455
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/dpusm/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down
1 change: 1 addition & 0 deletions src/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bc5e455

Please sign in to comment.