pub type dm_log_with_errno_fn = Option<unsafe extern "C" fn(level: c_int, file: *const c_char, line: c_int, dm_errno_or_class: c_int, f: *const c_char, ...)>;