41 const void* user_data);
Platform-specific symbol visibility macros.
zxc_cparam_t
Compression parameters, set on a zxc_cctx with zxc_cctx_set_param().
@ ZXC_C_CHECKSUM
1 appends the block checksums and the archive digest; default 0.
@ ZXC_C_LEVEL
Compression level, 1 to 7 (zxc_compression_level_t); default ZXC_LEVEL_DEFAULT.
@ ZXC_C_BLOCK_SIZE
Block size in bytes, a power of two in [ZXC_BLOCK_SIZE_MIN, ZXC_BLOCK_SIZE_MAX]; default ZXC_BLOCK_SI...
@ ZXC_C_THREADS
Workers of the FILE* pipeline, at most ZXC_MAX_THREADS; the reader and writer come on top.
@ ZXC_C_SEEKABLE
1 appends a seek table for random-access decompression; default 0.
zxc_dparam_t
Decompression parameters, set on a zxc_dctx with zxc_dctx_set_param().
@ ZXC_D_CHECKSUM
1 verifies the block checksums and the archive digest when the archive carries them; default 0,...
@ ZXC_D_THREADS
Workers of the FILE* pipeline, at most ZXC_MAX_THREADS; the reader and writer come on top.
int zxc_cparam_bounds(zxc_cparam_t param, int64_t *min, int64_t *max)
Reports the accepted range of a compression parameter.
void(* zxc_progress_callback_t)(uint64_t bytes_processed, uint64_t bytes_total, const void *user_data)
Progress callback function type.
int zxc_dparam_bounds(zxc_dparam_t param, int64_t *min, int64_t *max)
Reports the accepted range of a decompression parameter.