Function gnunet_sys::GNUNET_MQ_msg_copy[][src]

pub unsafe extern "C" fn GNUNET_MQ_msg_copy(
    hdr: *const GNUNET_MessageHeader
) -> *mut GNUNET_MQ_Envelope

Create a new envelope by copying an existing message.

@param hdr header of the message to copy @return envelope containing @a hdr