osdp_cp_enable_pd

Function osdp_cp_enable_pd 

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

@brief Enable a previously disabled PD. The PD will start up as it would during initial setup.

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

@retval 0 on success @retval -1 on failure