lzma_next_coder_s Struct Reference

Hold data and function pointers of the next filter in the chain. More...

#include <common.h>

Data Fields

lzma_codercoder
 Pointer to coder-specific data.
uintptr_t init
lzma_code_function code
 Pointer to function to do the actual coding.
lzma_end_function end
lzma_check(* get_check )(const lzma_coder *coder)
lzma_ret(* memconfig )(lzma_coder *coder, uint64_t *memusage, uint64_t *old_memlimit, uint64_t new_memlimit)

Detailed Description

Hold data and function pointers of the next filter in the chain.


Field Documentation

Pointer to coder-specific data.

Referenced by copy_or_code(), fill_window(), lzma_next_end(), and subfilter_decode().

"Pointer" to init function. This is never called here. We need only to detect if we are initializing a coder that was allocated earlier. See lzma_next_coder_init and lzma_next_strm_init macros in this file.

Referenced by lzma_next_end().

Pointer to function to do the actual coding.

Referenced by copy_or_code(), fill_window(), and subfilter_decode().

Pointer to function to free lzma_next_coder.coder. This can be NULL; in that case, lzma_free is called to free lzma_next_coder.coder.

Referenced by lzma_next_end().

Pointer to function to return the type of the integrity check. Most coders won't support this.

lzma_ret(* lzma_next_coder_s::memconfig)(lzma_coder *coder, uint64_t *memusage, uint64_t *old_memlimit, uint64_t new_memlimit)

Pointer to function to get and/or change the memory usage limit. If new_memlimit == 0, the limit is not changed.


The documentation for this struct was generated from the following file:

Generated on Tue Oct 6 14:02:23 2009 for XZ Utils by  doxygen 1.6.1