Function c_ares_sys::ares_send_dnsrec

source ยท
pub unsafe extern "C" fn ares_send_dnsrec(
    channel: *mut ares_channel_t,
    dnsrec: *const ares_dns_record_t,
    callback: ares_callback_dnsrec,
    arg: *mut c_void,
    qid: *mut c_ushort,
) -> ares_status_t
Expand description

Send a DNS query as an ares_dns_record_t with a callback containing the parsed DNS record.

\param[in] channel Pointer to channel on which queries will be sent. \param[in] dnsrec DNS Record to send \param[in] callback Callback function invoked on completion or failure of the query sequence. \param[in] arg Additional argument passed to the callback function. \param[out] qid Query ID \return One of the c-ares status codes.