46 #ifdef HAVE_DECODER_LZMA1
54 #ifdef HAVE_DECODER_LZMA2
62 #ifdef HAVE_DECODER_X86
70 #ifdef HAVE_DECODER_POWERPC
78 #ifdef HAVE_DECODER_IA64
86 #ifdef HAVE_DECODER_ARM
94 #ifdef HAVE_DECODER_ARMTHUMB
102 #ifdef HAVE_DECODER_SPARC
110 #ifdef HAVE_DECODER_DELTA
133 lzma_filter_decoder_is_supported(
lzma_vli id)
179 if (
fd->props_decode ==
NULL)
182 return fd->props_decode(
lzma_ret lzma_simple_armthumb_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
#define LZMA_FILTER_SPARC
#define LZMA_FILTER_ARMTHUMB
#define LZMA_FILTER_POWERPC
const lzma_allocator * allocator
const lzma_filter * filters
#define LZMA_FILTER_DELTA
Filter ID.
uint64_t lzma_delta_coder_memusage(const void *options)
lzma_ret lzma_delta_props_decode(void **options, const lzma_allocator *allocator, const uint8_t *props, size_t props_size)
lzma_ret lzma_delta_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
const lzma_allocator const uint8_t * props
uint64_t lzma_raw_coder_memusage(lzma_filter_find coder_find, const lzma_filter *filters)
lzma_ret lzma_raw_coder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter *options, lzma_filter_find coder_find, bool is_encoder)
Filter-specific stuff common for both encoder and decoder.
const lzma_filter_coder *(* lzma_filter_find)(lzma_vli id)
static const lzma_filter_decoder decoders[]
lzma_ret lzma_raw_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter *options)
static const lzma_filter_decoder * decoder_find(lzma_vli id)
Filter ID mapping to filter-specific functions.
lzma_ret lzma_simple_ia64_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
static const char struct stat static buf struct stat static buf static vhangup int options
#define LZMA_FILTER_LZMA2
LZMA2 Filter ID.
#define LZMA_FILTER_LZMA1
LZMA1 Filter ID.
lzma_ret lzma_lzma2_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
uint64_t lzma_lzma2_decoder_memusage(const void *options)
lzma_ret lzma_lzma2_props_decode(void **options, const lzma_allocator *allocator, const uint8_t *props, size_t props_size)
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.
lzma_ret lzma_simple_powerpc_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
lzma_ret lzma_simple_x86_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
lzma_ret lzma_simple_sparc_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
lzma_ret lzma_simple_props_decode(void **options, const lzma_allocator *allocator, const uint8_t *props, size_t props_size)
Properties decoder for simple filters.
Custom functions for memory handling.
bool supported_actions[LZMA_ACTION_MAX+1]
Indicates which lzma_action values are allowed by next.code.
Hold data and function pointers of the next filter in the chain.
Passing data to and from liblzma.
#define lzma_next_strm_init(func, strm,...)
lzma_ret(* lzma_init_function)(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
Type of a function used to initialize a filter encoder or decoder.
lzma_ret lzma_simple_arm_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters)
uint64_t lzma_vli
Variable-length integer type.
lzma_ret
Return values used by several functions in liblzma.
@ LZMA_OPTIONS_ERROR
Invalid or unsupported options.
@ LZMA_OK
Operation completed successfully.
@ LZMA_FINISH
Finish the coding operation.
@ LZMA_RUN
Continue coding.
unsigned char lzma_bool
Boolean.
static const z80_opcode fd[]