pub unsafe extern "C" fn xila_network_resolve(
network: *const Network,
host: *const c_char,
host_length: usize,
family: u32,
addresses: *mut NetworkAddress,
count: *mut usize,
) -> StatusExpand description
Resolve one address family synchronously. Count is capacity in/results out; capacity zero queries size. Overflow leaves outputs unchanged. DNS allocates inside Core.
ยงSafety
Objects must be live and calls serialized. Inputs must be readable and outputs aligned, writable and disjoint from inputs and objects. Buffers must be valid for their lengths. Owned objects must be released exactly once.