Function blosc_src::blosc_get_complib_info
source · 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
Expand description
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 any of complib
and version
are NULL, they will not be
assigned to anything, and the user should not need to free them.
If the compressor is supported, it returns the code for the library (>=0). If it is not supported, this function returns -1.