pub type RConfigCallback = Option<unsafe extern "C" fn(user: *mut c_void, data: *mut c_void) -> bool>;