Function hyperscan_sys::hs_database_info
source · [−]pub unsafe extern "C" fn hs_database_info(
database: *const hs_database_t,
info: *mut *mut c_char
) -> hs_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_misc_allocator() (or malloc() if no allocator was set) and should be freed by the caller.
@return @ref HS_SUCCESS on success, other values on failure.