diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-05-21 12:16:37 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-05-21 18:21:17 +0200 |
commit | c9d3c2e1628e5b28a553ae098b3b9f3019c45a63 (patch) | |
tree | a02caaa953b757bbc74793994db37f62e23690e3 /lib/comp/zstd.c | |
parent | 58ced38ac46976c1b0dfa91c513c8ccd170b4e26 (diff) |
Add command line flag for compressor options, pass them to compressors
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/comp/zstd.c')
-rw-r--r-- | lib/comp/zstd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/comp/zstd.c b/lib/comp/zstd.c index 6c90505..4cbef38 100644 --- a/lib/comp/zstd.c +++ b/lib/comp/zstd.c @@ -69,7 +69,8 @@ static void zstd_destroy(compressor_t *base) free(zstd); } -compressor_t *create_zstd_compressor(bool compress, size_t block_size) +compressor_t *create_zstd_compressor(bool compress, size_t block_size, + char *options) { zstd_compressor_t *zstd = calloc(1, sizeof(*zstd)); compressor_t *base = (compressor_t *)zstd; @@ -93,3 +94,7 @@ compressor_t *create_zstd_compressor(bool compress, size_t block_size) base->read_options = zstd_read_options; return base; } + +void compressor_zstd_print_help(void) +{ +} |