osdp_close_fn_t

Type Alias osdp_close_fn_t 

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

@brief pointer to function that closes the underlying channel. This call is made when LibOSDP is terminating, once per PD.

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

Aliased Type§

pub enum osdp_close_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.