Function blosc_sys::blosc_get_complib_info [] [src]

pub unsafe extern "C" fn blosc_get_complib_info(
    compname: *const c_char,
    complib: *mut *mut c_char,
    version: *mut *mut c_char
) -> c_int

Get info from compression libraries included in the current build. In compname you pass the compressor name that you want info from.

In complib and version you get a pointer to the compressor library name and the version in string format respectively. After using the name and version, you should free() them so as to avoid leaks.

If the compressor is supported, it returns the code for the library (>=0). If it is not supported, this function returns -1.