Function c_ares_sys::ares_dns_rr_set_opt
source ยท pub unsafe extern "C" fn ares_dns_rr_set_opt(
dns_rr: *mut ares_dns_rr_t,
key: ares_dns_rr_key_t,
opt: c_ushort,
val: *const c_uchar,
val_len: usize,
) -> ares_status_t
Expand description
Set the option for the RR
\param[in] dns_rr Pointer to resource record \param[in] key DNS Resource Record Key \param[in] opt Option record key id. \param[out] val Optional. Value to associate with option. \param[out] val_len Length of value passed. \return ARES_SUCCESS on success