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§

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.