xref: /freebsd/contrib/xz/src/liblzma/lzma/lzma2_decoder.h (revision 96190b4fef3b4a0cc3ca0606b0c4e3e69a5e6717)
1 // SPDX-License-Identifier: 0BSD
2 
3 ///////////////////////////////////////////////////////////////////////////////
4 //
5 /// \file       lzma2_decoder.h
6 /// \brief      LZMA2 decoder
7 ///
8 //  Authors:    Igor Pavlov
9 //              Lasse Collin
10 //
11 ///////////////////////////////////////////////////////////////////////////////
12 
13 #ifndef LZMA_LZMA2_DECODER_H
14 #define LZMA_LZMA2_DECODER_H
15 
16 #include "common.h"
17 
18 extern lzma_ret lzma_lzma2_decoder_init(lzma_next_coder *next,
19 		const lzma_allocator *allocator,
20 		const lzma_filter_info *filters);
21 
22 extern uint64_t lzma_lzma2_decoder_memusage(const void *options);
23 
24 extern lzma_ret lzma_lzma2_props_decode(
25 		void **options, const lzma_allocator *allocator,
26 		const uint8_t *props, size_t props_size);
27 
28 #endif
29