Function gnunet_sys::GNUNET_DNSPARSER_parse_name [−][src]
pub unsafe extern "C" fn GNUNET_DNSPARSER_parse_name(
udp_payload: *const c_char,
udp_payload_length: usize,
off: *mut usize
) -> *mut c_char
Parse name inside of a DNS query or record.
@param udp_payload entire UDP payload @param udp_payload_length length of @a udp_payload @param off pointer to the offset of the name to parse in the udp_payload (to be incremented by the size of the name) @return name as 0-terminated C string on success, NULL if the payload is malformed