$NetBSD: patch-aa,v 1.3 2007/07/14 22:05:57 adrianp Exp $ --- ares.h.orig 2007-06-04 08:36:31.000000000 +0100 +++ ares.h @@ -185,6 +185,13 @@ struct ares_options { int nsort; }; +struct ares_config_info { + int timeout; + int tries; + int numservers; + char **servers; +}; + struct hostent; struct timeval; struct sockaddr; @@ -243,7 +250,7 @@ int ares_parse_ns_reply(const unsigned c void ares_free_string(void *str); void ares_free_hostent(struct hostent *host); const char *ares_strerror(int code); - +int ares_get_config(struct ares_config_info *d, ares_channel c); #ifdef __cplusplus } #endif