osdp_cp_is_pd_enabled

Function osdp_cp_is_pd_enabled 

Source
pub unsafe extern "C" fn osdp_cp_is_pd_enabled(
    ctx: *const osdp_t,
    pd: c_int,
) -> bool
Expand description

@brief Check if a PD is currently enabled.

@param ctx OSDP context @param pd PD offset (0-indexed) of this PD in osdp_pd_info_t * passed to osdp_cp_setup()

@retval true if PD is enabled @retval false if PD is disabled or on error