Tests: Fix memory leaks in test_block_header.
[xz/debian.git] / src / liblzma / lzma / lzma2_decoder.h
blobef2dcbfa76f0586ead815da6bc9a017c11073582
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.
12 ///////////////////////////////////////////////////////////////////////////////
14 #ifndef LZMA_LZMA2_DECODER_H
15 #define LZMA_LZMA2_DECODER_H
17 #include "common.h"
19 extern lzma_ret lzma_lzma2_decoder_init(lzma_next_coder *next,
20 const lzma_allocator *allocator,
21 const lzma_filter_info *filters);
23 extern uint64_t lzma_lzma2_decoder_memusage(const void *options);
25 extern lzma_ret lzma_lzma2_props_decode(
26 void **options, const lzma_allocator *allocator,
27 const uint8_t *props, size_t props_size);
29 #endif