aboutsummaryrefslogtreecommitdiff
path: root/src/xz/coder.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2011-03-18 19:10:30 +0200
committerLasse Collin <lasse.collin@tukaani.org>2011-03-18 19:10:30 +0200
commit923b22483bd9356f3219b2b784d96f455f4dc499 (patch)
tree76cfdf92dedc83e3e344207f9efc7d6281e559b7 /src/xz/coder.h
parentxz: Add --single-stream. (diff)
downloadxz-923b22483bd9356f3219b2b784d96f455f4dc499.tar.xz
xz: Add --block-size=SIZE.
This uses LZMA_FULL_FLUSH every SIZE bytes of input. Man page wasn't updated yet.
Diffstat (limited to '')
-rw-r--r--src/xz/coder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xz/coder.h b/src/xz/coder.h
index d95319e5..7edca039 100644
--- a/src/xz/coder.h
+++ b/src/xz/coder.h
@@ -44,6 +44,9 @@ extern bool opt_auto_adjust;
/// If true, stop after decoding the first stream.
extern bool opt_single_stream;
+/// If non-zero, start a new .xz Block after every opt_block_size bytes
+/// of input. This has an effect only when compressing to the .xz format.
+extern uint64_t opt_block_size;
/// Set the integrity check type used when compressing
extern void coder_set_check(lzma_check check);