is_matching_ffi

Function is_matching_ffi 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn is_matching_ffi( topic: *const c_char, pattern: *const c_char, ) -> u8
Expand description

Match a topic and a string pattern using iterative backtracking algorithm pattern can contains - ‘*’ - match 0 or more characters after this ‘?’ - match any character once ‘a-z’ - match the specific character

§Safety

Passing NULL pointers will result in a panic.