summaryrefslogtreecommitdiffstats
path: root/liblzma/lzma/lzma_decoder.h
diff options
context:
space:
mode:
authorliblzma upstream <xz-devel@tukaani.org>2018-04-29 16:00:06 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-06 14:24:54 (GMT)
commit352b8fa70d18ff1664cd8b22f42cf980a976ae4d (patch)
tree4f1267f96f542178e35ae60f0f27ef19a2b341ac /liblzma/lzma/lzma_decoder.h
parent897b790d57f9c114adf1e0374b4a004ba6a8ec99 (diff)
downloadCMake-352b8fa70d18ff1664cd8b22f42cf980a976ae4d.zip
CMake-352b8fa70d18ff1664cd8b22f42cf980a976ae4d.tar.gz
CMake-352b8fa70d18ff1664cd8b22f42cf980a976ae4d.tar.bz2
liblzma 2018-04-29 (b5be61cc)
Code extracted from: https://git.tukaani.org/xz.git at commit b5be61cc06088bb07f488f9baf7d447ff47b37c1 (v5.2.4).
Diffstat (limited to 'liblzma/lzma/lzma_decoder.h')
-rw-r--r--liblzma/lzma/lzma_decoder.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/liblzma/lzma/lzma_decoder.h b/liblzma/lzma/lzma_decoder.h
index a463a76..fa8ecb2 100644
--- a/liblzma/lzma/lzma_decoder.h
+++ b/liblzma/lzma/lzma_decoder.h
@@ -19,12 +19,13 @@
/// Allocates and initializes LZMA decoder
extern lzma_ret lzma_lzma_decoder_init(lzma_next_coder *next,
- lzma_allocator *allocator, const lzma_filter_info *filters);
+ const lzma_allocator *allocator,
+ const lzma_filter_info *filters);
extern uint64_t lzma_lzma_decoder_memusage(const void *options);
extern lzma_ret lzma_lzma_props_decode(
- void **options, lzma_allocator *allocator,
+ void **options, const lzma_allocator *allocator,
const uint8_t *props, size_t props_size);
@@ -40,7 +41,7 @@ extern bool lzma_lzma_lclppb_decode(
/// Allocate and setup function pointers only. This is used by LZMA1 and
/// LZMA2 decoders.
extern lzma_ret lzma_lzma_decoder_create(
- lzma_lz_decoder *lz, lzma_allocator *allocator,
+ lzma_lz_decoder *lz, const lzma_allocator *allocator,
const void *opt, lzma_lz_options *lz_options);
/// Gets memory usage without validating lc/lp/pb. This is used by LZMA2