Rizin
unix-like reverse engineering framework and cli tools
lzma_decoder.h
Go to the documentation of this file.
1 //
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 //
13 
14 #ifndef LZMA_LZMA_DECODER_H
15 #define LZMA_LZMA_DECODER_H
16 
17 #include "common.h"
18 
19 
23  const lzma_filter_info *filters);
24 
25 extern uint64_t lzma_lzma_decoder_memusage(const void *options);
26 
28  void **options, const lzma_allocator *allocator,
29  const uint8_t *props, size_t props_size);
30 
31 
36 extern bool lzma_lzma_lclppb_decode(
38 
39 
40 #ifdef LZMA_LZ_DECODER_H
45  const void *opt, lzma_lz_options *lz_options);
46 
50 
51 #endif
52 
53 #endif
const lzma_allocator * allocator
Definition: block.h:377
const lzma_filter * filters
Definition: container.h:315
const lzma_allocator const uint8_t * props
Definition: filter.h:362
static const char struct stat static buf struct stat static buf static vhangup int options
Definition: sflib.h:145
lzma_ret lzma_lzma_decoder_create(lzma_lz_decoder *lz, const lzma_allocator *allocator, const void *opt, lzma_lz_options *lz_options)
Definition: lzma_decoder.c:942
uint64_t lzma_lzma_decoder_memusage_nocheck(const void *options)
bool lzma_lzma_lclppb_decode(lzma_options_lzma *options, uint8_t byte)
Decodes the LZMA Properties byte (lc/lp/pb)
lzma_ret lzma_lzma_props_decode(void **options, const lzma_allocator *allocator, const uint8_t *props, size_t props_size)
uint64_t lzma_lzma_decoder_memusage(const void *options)
lzma_ret lzma_lzma_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
Allocates and initializes LZMA decoder.
Definition: lzma_decoder.c:987
unsigned long uint64_t
Definition: sftypes.h:28
unsigned char uint8_t
Definition: sftypes.h:31
Custom functions for memory handling.
Definition: base.h:372
Hold data and function pointers of the next filter in the chain.
Definition: common.h:135
Options specific to the LZMA1 and LZMA2 filters.
Definition: lzma12.h:185
lzma_ret
Return values used by several functions in liblzma.
Definition: base.h:57