mirror of
https://github.com/facebook/zstd.git
synced 2025-08-07 06:23:00 +03:00
[contrib][linux-kernel] Add zstd_min_clevel() and zstd_max_clevel()
This commit is contained in:
committed by
Nick Terrell
parent
a494308ae9
commit
d334ad2ff4
@@ -17,6 +17,18 @@
|
||||
#include "common/zstd_deps.h"
|
||||
#include "common/zstd_internal.h"
|
||||
|
||||
int zstd_min_clevel(void)
|
||||
{
|
||||
return ZSTD_minCLevel();
|
||||
}
|
||||
EXPORT_SYMBOL(zstd_min_clevel);
|
||||
|
||||
int zstd_max_clevel(void)
|
||||
{
|
||||
return ZSTD_maxCLevel();
|
||||
}
|
||||
EXPORT_SYMBOL(zstd_max_clevel);
|
||||
|
||||
size_t zstd_compress_bound(size_t src_size)
|
||||
{
|
||||
return ZSTD_compressBound(src_size);
|
||||
|
Reference in New Issue
Block a user