1 #ifndef NET__RESOLVE__H__ 2 #define NET__RESOLVE__H__ 12 #define RESOLVE_NOTFOUND 1 14 #define RESOLVE_NOADDR 2 16 #define RESOLVE_NSERROR 3 18 #define RESOLVE_TEMPFAIL 4 23 #define resolve_ipv4name(N,A) resolve_ipv4name_n((N),(A),1) 26 #define resolve_error() (__resolve_error)
const char * resolve_ipv4addr(const ipv4addr *addr)
Definition: resolve_ipv4addr.c:5
int resolve_ipv4name_n(const char *name, ipv4addr *addr, int maxaddrs)
Definition: resolve_ipv4name.c:5
int resolve_calldns(int(*dnsfn)(), struct dns_result *out, const void *param)
Definition: resolve_calldns.c:8
int resolve_qualdns(int(*dnsfn)(struct dns_transmit *, struct dns_result *out, const char *), struct dns_result *out, const char *name)
Definition: resolve_calldns.c:22
int __resolve_error
Definition: resolve_calldns.c:5