pub unsafe extern "C" fn ares_dns_rr_get_str(
    dns_rr: *const ares_dns_rr_t,
    key: ares_dns_rr_key_t
) -> *const c_char
Expand description

Retrieve a pointer to the string. Can only be used on keys with datatype ARES_DATATYPE_STR and ARES_DATATYPE_NAME.

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