Function gnunet_sys::GNUNET_MQ_impl_state [−][src]
pub unsafe extern "C" fn GNUNET_MQ_impl_state(
mq: *mut GNUNET_MQ_Handle
) -> *mut c_void
Get the implementation state associated with the message queue.
While the GNUNET_MQ_Impl* callbacks receive the
implementation state, continuations that are scheduled
by the implementation function often only have one closure
argument, with this function it is possible to get at the
implementation state when only passing the struct GNUNET_MQ_Handle
as closure.
@param mq message queue with the current message @return message to send, never NULL