Function gnunet_sys::GNUNET_MQ_msg_[][src]

pub unsafe extern "C" fn GNUNET_MQ_msg_(
    mhp: *mut *mut GNUNET_MessageHeader,
    size: u16,
    type_: u16
) -> *mut GNUNET_MQ_Envelope

Create a new envelope.

@param mhp message header to store the allocated message header in, can be NULL @param size size of the message to allocate @param type type of the message, will be set in the allocated message @return the allocated MQ message