esp_idf_hal::sys

Function dns_gethostbyname

Source
pub unsafe extern "C" fn dns_gethostbyname(
    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,
) -> i8