44 const void* user_data);
int seekable
1 to append a seek table for random-access decompression.
zxc_progress_callback_t progress_cb
Optional progress callback (NULL to disable).
const void * dict
Pre-trained dictionary content (NULL = none).
int level
Compression level 1-7 (0 = default, ZXC_LEVEL_DEFAULT).
void * user_data
User context pointer passed to progress_cb.
size_t block_size
Block size in bytes (0 = default ZXC_BLOCK_SIZE_DEFAULT).
const void * dict_huf
Optional shared literal Huffman table: the 128-byte packed code-lengths header from zxc_train_dict_hu...
size_t dict_size
Dictionary size in bytes (0 = none, max ZXC_DICT_SIZE_MAX).
int checksum_enabled
1 to append the block checksums and archive digest, 0 to disable.
int n_threads
Worker thread count (0 = auto-detect CPU cores).
Options for decompression.
int checksum_enabled
1 to verify the block checksums and archive digest, 0 to skip.
int n_threads
Worker thread count (0 = auto-detect CPU cores).
const void * dict_huf
Shared literal Huffman table: the same 128-byte header used at compression time.
size_t dict_size
Dictionary size in bytes (0 = none).
zxc_progress_callback_t progress_cb
Optional progress callback (NULL to disable).
void * user_data
User context pointer passed to progress_cb.
const void * dict
Pre-trained dictionary content (NULL = none).
Platform-specific symbol visibility macros.
size_t zxc_decompress_opts_size(void)
Returns sizeof(zxc_decompress_opts_t) as compiled into the library.
void(* zxc_progress_callback_t)(uint64_t bytes_processed, uint64_t bytes_total, const void *user_data)
Progress callback function type.
size_t zxc_compress_opts_size(void)
Returns sizeof(zxc_compress_opts_t) as compiled into the library.