18# define DILLO_ADDR_MAX sizeof(struct in6_addr)
20# define DILLO_ADDR_MAX sizeof(struct in_addr)
void a_Dns_dillohost_to_string(DilloHost *host, char *dst, size_t size)
Writes a string representation of the given DilloHost into dst.
void a_Dns_init(void)
Initializer function.
void a_Dns_freeall(void)
Dns memory-deallocation.
void(* DnsCallback_t)(int status, Dlist *addr_list, void *data)
void a_Dns_resolve(const char *hostname, DnsCallback_t cb_func, void *cb_data)
Return the IP for the given hostname using a callback.