Skip to main content

hdlc_frame_handler_t

Type Alias hdlc_frame_handler_t 

Source
pub type hdlc_frame_handler_t = Option<unsafe extern "C" fn(user_data: *mut c_void, pkt: *const u8, len: c_int, ok: c_int)>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.