![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
#include <simple_private.h>
Data Fields | |
lzma_next_coder | next |
Next filter in the chain. | |
bool | end_was_reached |
True if the next coder in the chain has returned LZMA_STREAM_END. | |
bool | is_encoder |
size_t(* | filter )(void *simple, uint32_t now_pos, bool is_encoder, uint8_t *buffer, size_t size) |
void * | simple |
uint32_t | now_pos |
size_t | allocated |
Size of the memory allocated for the buffer. | |
size_t | pos |
size_t | filtered |
size_t | size |
uint8_t | buffer [] |
Temporary buffer. | |
size_t allocated |
Size of the memory allocated for the buffer.
uint8_t buffer |
Temporary buffer.
bool end_was_reached |
True if the next coder in the chain has returned LZMA_STREAM_END.
Pointer to filter-specific function, which does the actual filtering.
size_t filtered |
buffer[filtered] is the first unfiltered byte. When pos is smaller than filtered, there is unflushed filtered data in the buffer.
bool is_encoder |
True if filter() should encode the data; false to decode. Currently all simple filters use the same function for encoding and decoding, because the difference between encoders and decoders is very small.
lzma_next_coder next |
Next filter in the chain.
uint32_t now_pos |
The lowest 32 bits of the current position in the data. Most filters need this to do conversions between absolute and relative addresses.
size_t pos |
Flushing position in the temporary buffer. buffer[pos] is the next byte to be copied to out[].
void * simple |
Pointer to filter-specific data, or NULL if filter doesn't need any extra data.
size_t size |
Total number of bytes (both filtered and unfiltered) currently in the temporary buffer.