Type Alias libosdp_sys::osdp_flush_fn_t

source ·
pub type osdp_flush_fn_t = Option<unsafe extern "C" fn(data: *mut c_void)>;
Expand description

@brief pointer to function that drops all bytes in TX/RX fifo. This function should be non-blocking.

@param data for use by underlying layers. osdp_channel::data is passed

Aliased Type§

enum osdp_flush_fn_t {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void))

Some value of type T.