]> pd.if.org Git - zpackage/blob - lzma/lzma/lzma2_decoder.h
implement trust on first use
[zpackage] / lzma / lzma / lzma2_decoder.h
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 /// \file       lzma2_decoder.h
4 /// \brief      LZMA2 decoder
5 ///
6 //  Authors:    Igor Pavlov
7 //              Lasse Collin
8 //
9 //  This file has been put into the public domain.
10 //  You can do whatever you want with this file.
11 //
12 ///////////////////////////////////////////////////////////////////////////////
13
14 #ifndef LZMA_LZMA2_DECODER_H
15 #define LZMA_LZMA2_DECODER_H
16
17 #include "common.h"
18
19 extern lzma_ret lzma_lzma2_decoder_init(lzma_next_coder *next,
20                 const lzma_allocator *allocator,
21                 const lzma_filter_info *filters);
22
23 extern uint64_t lzma_lzma2_decoder_memusage(const void *options);
24
25 extern lzma_ret lzma_lzma2_props_decode(
26                 void **options, const lzma_allocator *allocator,
27                 const uint8_t *props, size_t props_size);
28
29 #endif