Function gnunet_sys::GNUNET_MQ_impl_current [−][src]
pub unsafe extern "C" fn GNUNET_MQ_impl_current(
mq: *mut GNUNET_MQ_Handle
) -> *const GNUNET_MessageHeader
Get the message that should currently be sent. Fails if there is no current message. Only useful for implementing message queues, results in undefined behavior if not used carefully.
@param mq message queue with the current message @return message to send, never NULL