1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

[regression] add more methods

This commit is contained in:
Nick Terrell
2018-12-03 20:06:26 -08:00
parent 52b94f902c
commit fcfea057a1
4 changed files with 718 additions and 144 deletions

View File

@ -20,7 +20,7 @@
typedef struct {
ZSTD_cParameter param;
unsigned value;
int value;
} param_value_t;
typedef struct {
@ -70,6 +70,14 @@ int config_skip_data(config_t const* config, data_t const* data);
*/
int config_get_level(config_t const* config);
/**
* Returns the compression parameters specified by the config.
*/
ZSTD_parameters config_get_zstd_params(
config_t const* config,
uint64_t srcSize,
size_t dictSize);
/**
* The NULL-terminated list of configs.
*/