Function c_ares_sys::ares_search_dnsrec

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

Search for a complete DNS message.

\param[in] channel Pointer to channel on which queries will be sent. \param[in] dnsrec Pointer to initialized and filled DNS record object. \param[in] callback Callback function invoked on completion or failure of the query sequence. \param[in] arg Additional argument passed to the callback function. \return One of the c-ares status codes. In all cases, except ARES_EFORMERR due to misuse, this error code will also be sent to the provided callback.