Skip to main content

smbc_debug_callback_fn

Type Alias smbc_debug_callback_fn 

Source
pub type smbc_debug_callback_fn = Option<extern "C" fn(private_ptr: *mut c_void, level: c_int, message: *const c_char)>;
Expand description

Optional callback that receives native libsmbclient diagnostics.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.