esp_idf_hal::sys

Function dns_gethostbyname_addrtype

Source
pub unsafe extern "C" fn dns_gethostbyname_addrtype(
    hostname: *const u8,
    addr: *mut ip_addr,
    found: Option<unsafe extern "C" fn(_: *const u8, _: *const ip_addr, _: *mut c_void)>,
    callback_arg: *mut c_void,
    dns_addrtype: u8,
) -> i8