Function gnunet_sys::GNUNET_DNSPARSER_parse_cert[][src]

pub unsafe extern "C" fn GNUNET_DNSPARSER_parse_cert(
    udp_payload: *const c_char,
    udp_payload_length: usize,
    off: *mut usize
) -> *mut GNUNET_DNSPARSER_CertRecord

Parse a DNS CERT record.

@param udp_payload reference to UDP packet @param udp_payload_length length of @a udp_payload @param off pointer to the offset of the query to parse in the CERT record (to be incremented by the size of the record), unchanged on error @return the parsed CERT record, NULL on error