diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-01-06 00:02:29 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-07-17 23:34:55 +0800 |
commit | 9ded880a0221f4d1256845fc4ab957ffd377c760 (patch) | |
tree | 29c2b360d4cd4156ef73d40dcbab00dc5a76a32b /src/xz/coder.h | |
parent | Tests: Improve feature testing for skipping. (diff) | |
download | xz-9ded880a0221f4d1256845fc4ab957ffd377c760.tar.xz |
xz: Add --filters option to CLI.
The --filters option uses the new lzma_str_to_filters() function
to convert a string into a full filter chain. Using this option
will reset all previous filters set by --preset, --[filter], or
--filters.
Diffstat (limited to 'src/xz/coder.h')
-rw-r--r-- | src/xz/coder.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xz/coder.h b/src/xz/coder.h index b4f43a2b..997d2586 100644 --- a/src/xz/coder.h +++ b/src/xz/coder.h @@ -77,3 +77,6 @@ extern void coder_run(const char *filename); /// Free the memory allocated for the coder and kill the worker threads. extern void coder_free(void); #endif + +/// Create filter chain from string +extern void coder_add_filters_from_str(const char *filter_str); |