![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
#include <lz_decoder.h>
Data Fields | |
uint8_t * | buf |
Pointer to the dictionary buffer. | |
size_t | pos |
size_t | full |
size_t | limit |
Write limit. | |
size_t | size |
Size of the dictionary. | |
bool | need_reset |
True when dictionary should be reset before decoding more data. | |
bool | has_wrapped |
uint8_t * buf |
Pointer to the dictionary buffer.
Pointer to the dictionary buffer. It can be an allocated buffer internal to liblzma, or it can a be a buffer given by the application when in single-call mode (not implemented yet).
size_t full |
Indicates how full the dictionary is. This is used by dict_is_distance_valid() to detect corrupt files that would read beyond the beginning of the dictionary.
bool has_wrapped |
True once the dictionary has become full and the writing position has been wrapped in decode_buffer() in lz_decoder.c.
size_t limit |
Write limit.
bool need_reset |
True when dictionary should be reset before decoding more data.
size_t pos |
Write position in dictionary. The next byte will be written to buf[pos].
size_t size |
Size of the dictionary.
Allocated size of buf. This is 2 * LZ_DICT_REPEAT_MAX bytes larger than the actual dictionary size. This is enforced by how the value for "full" is set; it can be at most "size - 2 * LZ_DICT_REPEAT_MAX".