Function hyperscan_sys::chimera::ch_database_info
source · [−]pub unsafe extern "C" fn ch_database_info(
database: *const ch_database_t,
info: *mut *mut c_char
) -> ch_error_t
Expand description
Utility function providing information about a database.
@param database Pointer to a compiled database.
@param info On success, a string containing the version and platform information for the supplied database is placed in the parameter. The string is allocated using the allocator supplied in @ref hs_set_allocator() (or malloc() if no allocator was set) and should be freed by the caller.
@return @ref CH_SUCCESS on success, other values on failure.