pub unsafe extern "C" fn osdp_pd_submit_event(
ctx: *mut osdp_t,
event: *const osdp_event,
) -> c_intExpand description
@brief Submit PD events to CP. These events are delivered to the CP as a response to a future POLL command. A successful return does not mean CP received it, it only means LibOSDP accepted this submission.
@param ctx OSDP context @param event pointer to event struct. Must be filled by application.
@retval 0 on success @retval -1 on failure