Function gnunet_sys::GNUNET_copy_message[][src]

pub unsafe extern "C" fn GNUNET_copy_message(
    msg: *const GNUNET_MessageHeader
) -> *mut GNUNET_MessageHeader

@ingroup memory Create a copy of the given message.

@param msg message to copy @return duplicate of the message