Function libzt::zts_dns_get_server[][src]

pub unsafe extern "C" fn zts_dns_get_server(index: u8) -> *const zts_ip_addr
Expand description

Obtain one of the currently configured DNS server.

@param index the index of the DNS server @return IP address of the indexed DNS server or ip_addr_any if the DNS server has not been configured.