Function gnunet_sys::GNUNET_MQ_unsent_head[][src]

pub unsafe extern "C" fn GNUNET_MQ_unsent_head(
    mq: *mut GNUNET_MQ_Handle
) -> *mut GNUNET_MQ_Envelope

Remove the first envelope that has not yet been sent from the message queue and return it.

@param mq queue to remove envelope from @return NULL if queue is empty (or has no envelope that is not under transmission)