1 /* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2 // vim: expandtab:ts=8:sw=4:softtabstop=4:
3 ///////////////////////////////////////////////////////////////////////////////
4 //
5 /// \file       lzma2_decoder.h
6 /// \brief      LZMA2 decoder
7 ///
8 //  Authors:    Igor Pavlov
9 //              Lasse Collin
10 //
11 //  This file has been put into the public domain.
12 //  You can do whatever you want with this file.
13 //
14 ///////////////////////////////////////////////////////////////////////////////
15 
16 #ifndef LZMA_LZMA2_DECODER_H
17 #define LZMA_LZMA2_DECODER_H
18 
19 #include "common.h"
20 
21 extern lzma_ret lzma_lzma2_decoder_init(lzma_next_coder *next,
22 		lzma_allocator *allocator, const lzma_filter_info *filters);
23 
24 extern uint64_t lzma_lzma2_decoder_memusage(const void *options);
25 
26 extern lzma_ret lzma_lzma2_props_decode(
27 		void **options, lzma_allocator *allocator,
28 		const uint8_t *props, size_t props_size);
29 
30 #endif
31