1 ///////////////////////////////////////////////////////////////////////////////
3 /// \file lzma2_decoder.h
4 /// \brief LZMA2 decoder
6 // Copyright (C) 1999-2008 Igor Pavlov
7 // Copyright (C) 2008 Lasse Collin
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the GNU Lesser General Public
11 // License as published by the Free Software Foundation; either
12 // version 2.1 of the License, or (at your option) any later version.
14 // This library is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 // Lesser General Public License for more details.
19 ///////////////////////////////////////////////////////////////////////////////
21 #ifndef LZMA_LZMA2_DECODER_H
22 #define LZMA_LZMA2_DECODER_H
26 extern lzma_ret lzma_lzma2_decoder_init(lzma_next_coder *next,
27 lzma_allocator *allocator, const lzma_filter_info *filters);
29 extern uint64_t lzma_lzma2_decoder_memusage(const void *options);
31 extern lzma_ret lzma_lzma2_props_decode(
32 void **options, lzma_allocator *allocator,
33 const uint8_t *props, size_t props_size);