Single-call .xz Block decoder.
Definition in file block_buffer_decoder.c.
Definition at line 16 of file block_buffer_decoder.c.
35 const size_t in_start = *
in_pos;
36 const size_t out_start = *
out_pos;
const lzma_allocator const uint8_t size_t uint8_t size_t * out_pos
const lzma_allocator const uint8_t size_t * in_pos
const lzma_allocator const uint8_t size_t in_size
const lzma_allocator * allocator
const lzma_allocator const uint8_t * in
const lzma_allocator const uint8_t size_t uint8_t * out
lzma_ret lzma_block_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, lzma_block *block)
assert(limit<=UINT32_MAX/2)
Hold data and function pointers of the next filter in the chain.
lzma_code_function code
Pointer to function to do the actual coding.
void * coder
Pointer to coder-specific data.
#define LZMA_NEXT_CODER_INIT
Macro to initialize lzma_next_coder structure.
lzma_ret
Return values used by several functions in liblzma.
@ LZMA_PROG_ERROR
Programming error.
@ LZMA_DATA_ERROR
Data is corrupt.
@ LZMA_STREAM_END
End of stream was reached.
@ LZMA_BUF_ERROR
No progress is possible.
@ LZMA_OK
Operation completed successfully.
@ LZMA_FINISH
Finish the coding operation.
void lzma_next_end(lzma_next_coder *next, const lzma_allocator *allocator)
References allocator, assert(), lzma_next_coder_s::code, lzma_next_coder_s::coder, in, in_pos, in_size, lzma_block_decoder_init(), LZMA_BUF_ERROR, LZMA_DATA_ERROR, LZMA_FINISH, LZMA_NEXT_CODER_INIT, lzma_next_end(), LZMA_OK, LZMA_PROG_ERROR, LZMA_STREAM_END, NULL, out, and out_pos.