Static mappings from hostnames to IP addresses. More...
Static mappings from hostnames to IP addresses.
Definition in file hosts.h.
 Include dependency graph for hosts.h:Go to the source code of this file.
Data Structures | |
| struct | hostnames_v4_xfa_t | 
| A single IPv4 host in the list of hostnames.  More... | |
| struct | hostnames_v6_xfa_t | 
| A single IPv6 host in the list of hostnames.  More... | |
Macros | |
| #define | HOST_IPV4(host, ip) | 
| Define IPv4 host.   | |
| #define | HOST_IPV6(host, ip) | 
| Define IPv6 host.   | |
Functions | |
| int | hosts_query (const char *host_name, void *addr_out, int family) | 
| Get IP address for a host name.   | |