[−][src]Function libcoap_sys::coap_handle_event
pub unsafe extern "C" fn coap_handle_event(
context: *mut coap_context_t,
event: coap_event_t,
session: *mut coap_session_t
) -> c_int
Invokes the event handler of @p context for the given @p event and @p data.
@param context The CoAP context whose event handler is to be called. @param event The event to deliver. @param session The session related to @p event. @return The result from the associated event handler or 0 if none was registered.