Rizin
unix-like reverse engineering framework and cli tools
|
Hold data and function pointers of the next filter in the chain. More...
#include <common.h>
Public Attributes | |
void * | coder |
Pointer to coder-specific data. More... | |
lzma_vli | id |
uintptr_t | init |
lzma_code_function | code |
Pointer to function to do the actual coding. More... | |
lzma_end_function | end |
void(* | get_progress )(void *coder, uint64_t *progress_in, uint64_t *progress_out) |
lzma_check(* | get_check )(const void *coder) |
lzma_ret(* | memconfig )(void *coder, uint64_t *memusage, uint64_t *old_memlimit, uint64_t new_memlimit) |
lzma_ret(* | update )(void *coder, const lzma_allocator *allocator, const lzma_filter *filters, const lzma_filter *reversed_filters) |
Hold data and function pointers of the next filter in the chain.
lzma_code_function lzma_next_coder_s::code |
Pointer to function to do the actual coding.
Definition at line 150 of file common.h.
Referenced by alone_decode(), alone_encode(), alone_encoder_init(), auto_decode(), auto_decoder_init(), block_decode(), block_encode(), block_encode_normal(), copy_or_code(), delta_decode(), delta_encode(), fill_window(), index_decoder_init(), lz_decode(), lzma_alone_decoder_init(), LZMA_API(), lzma_block_decoder_init(), lzma_block_encoder_init(), lzma_delta_decoder_init(), lzma_delta_encoder_init(), lzma_index_encoder_init(), lzma_lz_decoder_init(), lzma_lz_encoder_init(), lzma_simple_coder_init(), lzma_stream_decoder_init(), stream_decode(), stream_encode(), stream_encode_mt(), stream_encoder_init(), stream_encoder_mt_init(), and worker_encode().
void* lzma_next_coder_s::coder |
Pointer to coder-specific data.
Definition at line 137 of file common.h.
Referenced by alone_decode(), alone_encode(), alone_encoder_init(), auto_decode(), auto_decoder_get_check(), auto_decoder_init(), auto_decoder_memconfig(), block_decode(), block_encode(), block_encode_normal(), copy_or_code(), delta_decode(), delta_encode(), fill_window(), index_decoder_init(), lz_decode(), lzma_alone_decoder_init(), LZMA_API(), lzma_block_decoder_init(), lzma_block_encoder_init(), lzma_delta_coder_init(), lzma_index_encoder_init(), lzma_lz_decoder_init(), lzma_lz_encoder_init(), lzma_next_end(), lzma_next_filter_update(), lzma_simple_coder_init(), lzma_stream_decoder_init(), stream_decode(), stream_encode(), stream_encode_mt(), stream_encoder_init(), stream_encoder_mt_init(), stream_encoder_update(), worker_encode(), and x86_coder_init().
lzma_end_function lzma_next_coder_s::end |
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.
Definition at line 155 of file common.h.
Referenced by alone_encoder_init(), auto_decoder_init(), index_decoder_init(), lzma_alone_decoder_init(), lzma_block_decoder_init(), lzma_block_encoder_init(), lzma_delta_coder_init(), lzma_index_encoder_init(), lzma_lz_decoder_init(), lzma_lz_encoder_init(), lzma_next_end(), lzma_simple_coder_init(), lzma_stream_decoder_init(), stream_encoder_init(), and stream_encoder_mt_init().
lzma_check(* lzma_next_coder_s::get_check) (const void *coder) |
Pointer to function to return the type of the integrity check. Most coders won't support this.
Definition at line 164 of file common.h.
Referenced by auto_decoder_get_check(), auto_decoder_init(), LZMA_API(), and lzma_stream_decoder_init().
void(* lzma_next_coder_s::get_progress) (void *coder, uint64_t *progress_in, uint64_t *progress_out) |
Pointer to a function to get progress information. If this is NULL, lzma_stream.total_in and .total_out are used instead.
Definition at line 159 of file common.h.
Referenced by LZMA_API(), and stream_encoder_mt_init().
lzma_vli lzma_next_coder_s::id |
Filter ID. This is LZMA_VLI_UNKNOWN when this structure doesn't point to a filter coder.
Definition at line 141 of file common.h.
Referenced by capstone.CsInsn::insn_name(), lzma_next_filter_init(), and lzma_next_filter_update().
uintptr_t lzma_next_coder_s::init |
"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.
Definition at line 147 of file common.h.
Referenced by lzma_next_end().
lzma_ret(* lzma_next_coder_s::memconfig) (void *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.
Definition at line 168 of file common.h.
Referenced by auto_decoder_init(), auto_decoder_memconfig(), index_decoder_init(), lzma_alone_decoder_init(), LZMA_API(), and lzma_stream_decoder_init().
lzma_ret(* lzma_next_coder_s::update) (void *coder, const lzma_allocator *allocator, const lzma_filter *filters, const lzma_filter *reversed_filters) |
Update the filter-specific options or the whole filter chain in the encoder.
Definition at line 173 of file common.h.
Referenced by LZMA_API(), lzma_block_encoder_init(), lzma_delta_encoder_init(), lzma_lz_encoder_init(), lzma_next_filter_update(), lzma_simple_coder_init(), stream_encoder_init(), and stream_encoder_update().