1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-06 15:45:37 +02:00

[contrib][linux-kernel] Add zstd_min_clevel() and zstd_max_clevel()

This commit is contained in:
Nick Terrell
2021-03-29 17:52:28 -07:00
committed by Nick Terrell
parent a494308ae9
commit d334ad2ff4
3 changed files with 35 additions and 0 deletions

View File

@ -63,6 +63,20 @@ zstd_error_code zstd_get_error_code(size_t code);
*/
const char *zstd_get_error_name(size_t code);
/**
* zstd_min_clevel() - minimum allowed compression level
*
* Return: The minimum allowed compression level.
*/
int zstd_min_clevel(void);
/**
* zstd_max_clevel() - maximum allowed compression level
*
* Return: The maximum allowed compression level.
*/
int zstd_max_clevel(void);
/* ====== Parameter Selection ====== */
/**