Function c_ares_sys::ares_dns_opt_get_name

source ยท
pub unsafe extern "C" fn ares_dns_opt_get_name(
    key: ares_dns_rr_key_t,
    opt: c_ushort,
) -> *const c_char
Expand description

The options/parameters extensions to some RRs can be somewhat opaque, this is a helper to return the name if the option is known.

\param[in] key Key associated with options/parameters \param[in] opt Option Key/Parameter \return name, or NULL if not known.