Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
lzma_dict Struct Reference

#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
 

Field Documentation

◆ buf

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).

◆ full

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.

◆ has_wrapped

bool has_wrapped

True once the dictionary has become full and the writing position has been wrapped in decode_buffer() in lz_decoder.c.

◆ limit

size_t limit

Write limit.

◆ need_reset

bool need_reset

True when dictionary should be reset before decoding more data.

◆ pos

size_t pos

Write position in dictionary. The next byte will be written to buf[pos].

◆ size

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".


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