Tor  0.4.6.0-alpha-dev
Data Fields
tor_lzma_compress_state_t Struct Reference

Data Fields

int compress
 
size_t input_so_far
 
size_t output_so_far
 
size_t allocation
 

Detailed Description

Internal LZMA state for incremental compression/decompression. The body of this struct is not exposed.

Internal state for an incremental LZMA compression/decompression.

Definition at line 119 of file compress_lzma.c.

Field Documentation

◆ allocation

size_t allocation

Approximate number of bytes allocated for this object.

Definition at line 132 of file compress_lzma.c.

Referenced by tor_lzma_compress_free_(), and tor_lzma_compress_state_size().

◆ compress

int compress

True if we are compressing; false if we are inflating

Definition at line 124 of file compress_lzma.c.

Referenced by tor_lzma_compress_process().

◆ input_so_far

size_t input_so_far

Number of bytes read so far. Used to detect compression bombs.

Definition at line 127 of file compress_lzma.c.

Referenced by tor_lzma_compress_process().

◆ output_so_far

size_t output_so_far

Number of bytes written so far. Used to detect compression bombs.

Definition at line 129 of file compress_lzma.c.

Referenced by tor_lzma_compress_process().


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