Function gnunet_sys::GNUNET_MQ_extract_nested_mh_[][src]

pub unsafe extern "C" fn GNUNET_MQ_extract_nested_mh_(
    mh: *const GNUNET_MessageHeader,
    base_size: u16
) -> *const GNUNET_MessageHeader

Implementation of the #GNUNET_MQ_extract_nexted_mh macro.

@param mh message header to extract nested message header from @param base_size size of the message before the nested message’s header appears @return pointer to the nested message, does not copy the message OR NULL in case of a malformed message.