6 #include <sys/socket.h>
7 #include <netdb.h> /* addrinfo */
13 dns_handler_t
*new_dns_handler(core_t
*c
);
14 void free_dns_handler(dns_handler_t
*h
);
16 dns_request_t
*new_dns_request(dns_handler_t
*h
, const char *node
, const char *service
, const struct addrinfo
*hints
);
18 void dns_handler_queue(dns_handler_t
*h
, dns_request_t
*dr
);