| 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 |