summaryrefslogtreecommitdiff
path: root/ares_library_init.h
diff options
context:
space:
mode:
authorDavid Stuart <dstuart@counterpath.com>2011-05-17 11:53:13 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-05-17 11:53:13 +0200
commit6518b56a5e2bc9e39d720f17fa7dd322a28dc33c (patch)
tree3a7bed56f287de887aaa110391f7116f9f87499f /ares_library_init.h
parentd60f07d09461b05e6b82a6f4a853963f8102c39a (diff)
downloadc-ares-6518b56a5e2bc9e39d720f17fa7dd322a28dc33c.tar.gz
c-ares-6518b56a5e2bc9e39d720f17fa7dd322a28dc33c.tar.bz2
c-ares-6518b56a5e2bc9e39d720f17fa7dd322a28dc33c.zip
IPv6-on-windows: find DNS servers correctly
Diffstat (limited to 'ares_library_init.h')
-rw-r--r--ares_library_init.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ares_library_init.h b/ares_library_init.h
index 29d5c9e..fe27d80 100644
--- a/ares_library_init.h
+++ b/ares_library_init.h
@@ -26,12 +26,14 @@
typedef DWORD (WINAPI *fpGetNetworkParams_t) (FIXED_INFO*, DWORD*);
typedef BOOLEAN (APIENTRY *fpSystemFunction036_t) (void*, ULONG);
+typedef ULONG (WINAPI *fpGetAdaptersAddresses_t) ( ULONG, ULONG, void*, IP_ADAPTER_ADDRESSES*, ULONG* );
/* Forward-declaration of variables defined in ares_library_init.c */
/* that are global and unique instances for whole c-ares library. */
extern fpGetNetworkParams_t ares_fpGetNetworkParams;
extern fpSystemFunction036_t ares_fpSystemFunction036;
+extern fpGetAdaptersAddresses_t ares_fpGetAdaptersAddresses;
#endif /* USE_WINSOCK */