Function libosdp_sys::osdp_pd_notify_event
source · pub unsafe extern "C" fn osdp_pd_notify_event(
ctx: *mut osdp_t,
event: *const osdp_event
) -> c_intExpand description
@brief API to notify PD events to CP. These events are sent to the CP as an alternate response to a POLL command.
@param ctx OSDP context @param event pointer to event struct. Must be filled by application.
@retval 0 on success @retval -1 on failure