Data Fields
tor_compress_state_t Struct Reference

Data Fields

compress_method_t method
union {
   tor_zlib_compress_state_t *   zlib_state
   tor_lzma_compress_state_t *   lzma_state
   tor_zstd_compress_state_t *   zstd_state

Detailed Description

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

Definition at line 468 of file compress.c.

Field Documentation

◆ method

compress_method_t tor_compress_state_t::method

The compression method.

Definition at line 469 of file compress.c.

Referenced by tor_compress_free_(), and tor_compress_state_size().

◆ u

union { ... } tor_compress_state_t::u

Compression backend state.

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