Skip to main content

dns_gethostbyname_addrtype

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