Function gnunet_sys::GNUNET_MQ_handle_message [−][src]
pub unsafe extern "C" fn GNUNET_MQ_handle_message(
handlers: *const GNUNET_MQ_MessageHandler,
mh: *const GNUNET_MessageHeader
) -> c_int
Call the message message handler that was registered for the type of the given message in the given @a handlers list.
This function is indented to be used for the implementation of message queues.
@param handlers a set of handlers @param mh message to dispatch @return #GNUNET_OK on success, #GNUNET_NO if no handler matched, #GNUNET_SYSERR if message was rejected by check function