From 4cce3e27f529af33e0e7749a8cbcec59954946b5 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 6 Mar 2022 23:36:20 +0200 Subject: 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. --- src/liblzma/common/common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/liblzma/common/common.h') 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; -- cgit v1.2.3