Type Alias kernel_LogCallback

Source
pub type kernel_LogCallback = Option<unsafe extern "C" fn(user_data: *mut c_void, message: *const c_char, message_len: usize)>;
Expand description

Function signature for the global logging callback. All bitcoin kernel internal logs will pass through this callback.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.