Function gnunet_sys::GNUNET_MQ_inject_error[][src]

pub unsafe extern "C" fn GNUNET_MQ_inject_error(
    mq: *mut GNUNET_MQ_Handle,
    error: GNUNET_MQ_Error
)

Call the error handler of a message queue with the given error code. If there is no error handler, log a warning.

This function is intended to be used for the implementation of message queues.

@param mq message queue @param error the error type