log_handler_t

Type Alias log_handler_t 

Source
pub type log_handler_t = Option<unsafe extern "C" fn(lvl: c_int, msg: *const c_char, args: va_list, p: *mut c_void)>;

Aliased Type§

pub enum log_handler_t {
    None,
    Some(unsafe extern "C" fn(i32, *const i8, *mut i8, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(i32, *const i8, *mut i8, *mut c_void))

Some value of type T.