Function c_ares_sys::ares_dns_record_rr_get
source ยท pub unsafe extern "C" fn ares_dns_record_rr_get(
dnsrec: *mut ares_dns_record_t,
sect: ares_dns_section_t,
idx: usize,
) -> *mut ares_dns_rr_t
Expand description
Fetch a writable resource record based on the section and index.
\param[in] dnsrec Initialized record object \param[in] sect Section for resource record \param[in] idx Index of resource record in section \return NULL on misuse, otherwise a writable pointer to the resource record