pub unsafe extern "C" fn tamp_compressor_init(
compressor: *mut TampCompressor,
conf: *const TampConf,
window: *mut c_uchar,
) -> tamp_resExpand description
@brief Initialize Tamp Compressor object.
@param[out] compressor Object to initialize. @param[in] conf Compressor configuration. Set to NULL for default (window=10, literal=8). @param[in] window Pre-allocated window buffer. Size must agree with conf->window. If conf.use_custom_dictionary is true, then the window must be externally initialized.
@return Tamp Status Code. Returns TAMP_INVALID_CONF if an invalid conf state is provided.