diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-03-06 23:36:20 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-03-07 00:35:53 +0200 |
commit | 4cce3e27f529af33e0e7749a8cbcec59954946b5 (patch) | |
tree | f1872d8482a73f92978b92d1c0a71633e5cd19f5 /src/liblzma/common/common.h | |
parent | liblzma: Fix docs: lzma_block_decoder() cannot return LZMA_UNSUPPORTED_CHECK. (diff) | |
download | xz-4cce3e27f529af33e0e7749a8cbcec59954946b5.tar.xz |
liblzma: Add threaded .xz decompressor.
I realize that this is about a decade late.
Big thanks to Sebastian Andrzej Siewior for the original patch.
I made a bunch of smaller changes but after a while quite a few
things got rewritten. So any bugs in the commit were created by me.
Diffstat (limited to 'src/liblzma/common/common.h')
-rw-r--r-- | src/liblzma/common/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/liblzma/common/common.h b/src/liblzma/common/common.h index 95313042..67996228 100644 --- a/src/liblzma/common/common.h +++ b/src/liblzma/common/common.h @@ -86,6 +86,10 @@ /// LZMA_OK in lzma_code(). #define LZMA_TIMED_OUT LZMA_RET_INTERNAL1 +/// Special return value (lzma_ret) for use in stream_decoder_mt.c to +/// indicate Index was detected instead of a Block Header. +#define LZMA_INDEX_DETECTED LZMA_RET_INTERNAL2 + typedef struct lzma_next_coder_s lzma_next_coder; |