Function c_ares_sys::ares_dns_rr_get_addr6

source ยท
pub unsafe extern "C" fn ares_dns_rr_get_addr6(
    dns_rr: *const ares_dns_rr_t,
    key: ares_dns_rr_key_t,
) -> *const ares_in6_addr
Expand description

Retrieve a pointer to the ipv6 address. Can only be used on keys with datatype ARES_DATATYPE_INADDR6.

\param[in] dns_rr Pointer to resource record \param[in] key DNS Resource Record Key \return pointer to ipv6 address or NULL on error