Function c_ares_sys::ares_dns_rr_set_u32

source ยท
pub unsafe extern "C" fn ares_dns_rr_set_u32(
    dns_rr: *mut ares_dns_rr_t,
    key: ares_dns_rr_key_t,
    val: c_uint,
) -> ares_status_t
Expand description

Set 32bit unsigned integer for specified resource record and key. Can only be used on keys with datatype ARES_DATATYPE_U32

\param[in] dns_rr Pointer to resource record \param[in] key DNS Resource Record Key \param[in] val 32bit unsigned integer \return ARES_SUCCESS on success