[regression] add more methods

This commit is contained in:
Nick Terrell
2018-12-11 13:10:22 -08:00
parent 52b94f902c
commit fcfea057a1
4 changed files with 718 additions and 144 deletions
+9 -1
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.
*/