diff options
Diffstat (limited to 'ares/ares_library_init.h')
-rw-r--r-- | ares/ares_library_init.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ares/ares_library_init.h b/ares/ares_library_init.h new file mode 100644 index 000000000..1b4c760a4 --- /dev/null +++ b/ares/ares_library_init.h @@ -0,0 +1,24 @@ +#ifndef HEADER_CARES_LIBRARY_INIT_H +#define HEADER_CARES_LIBRARY_INIT_H + +/* $Id$ */ + +#include "setup.h" + +#ifdef WIN32 + +#include <iphlpapi.h> + +typedef DWORD (WINAPI *fpGetNetworkParams_t) (FIXED_INFO*, DWORD*); +typedef BOOLEAN (APIENTRY *fpSystemFunction036_t) (void*, 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 fpGetNetworkParams; +extern fpSystemFunction036_t fpSystemFunction036; + +#endif /* WIN32 */ + +#endif /* HEADER_CARES_LIBRARY_INIT_H */ + |