Type Definition gnunet_sys::GNUNET_MQ_MessageValidationCallback [−][src]
type GNUNET_MQ_MessageValidationCallback = Option<unsafe extern "C" fn(cls: *mut c_void, msg: *const GNUNET_MessageHeader) -> c_int>;
Called when a message needs to be validated.
@param cls closure @param msg the received message @return #GNUNET_OK if the message is well-formed, #GNUNET_SYSERR if not