aboutsummaryrefslogtreecommitdiff
path: root/src/xz/coder.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2011-03-18 18:19:19 +0200
committerLasse Collin <lasse.collin@tukaani.org>2011-03-18 18:19:19 +0200
commit57597d42ca1740ad506437be168d800a50f1a0ad (patch)
tree9a545dc10dd74be9923cfdbcf425b2628f8cbd3d /src/xz/coder.h
parentxz: Clean up suffix.c. (diff)
downloadxz-57597d42ca1740ad506437be168d800a50f1a0ad.tar.xz
xz: Add --single-stream.
This can be useful when there is garbage after the compressed stream (.xz, .lzma, or raw stream). Man page wasn't updated yet.
Diffstat (limited to 'src/xz/coder.h')
-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 4626466f..d95319e5 100644
--- a/src/xz/coder.h
+++ b/src/xz/coder.h
@@ -41,6 +41,9 @@ extern enum format_type opt_format;
/// they exceed the memory usage limit.
extern bool opt_auto_adjust;
+/// If true, stop after decoding the first stream.
+extern bool opt_single_stream;
+
/// Set the integrity check type used when compressing
extern void coder_set_check(lzma_check check);