ares_library_init.h (c-ares-1.17.1) | : | ares_library_init.h (c-ares-1.17.2) | ||
---|---|---|---|---|
skipping to change at line 25 | skipping to change at line 25 | |||
* M.I.T. makes no representations about the suitability of | * M.I.T. makes no representations about the suitability of | |||
* this software for any purpose. It is provided "as is" | * this software for any purpose. It is provided "as is" | |||
* without express or implied warranty. | * without express or implied warranty. | |||
*/ | */ | |||
#include "ares_setup.h" | #include "ares_setup.h" | |||
#ifdef USE_WINSOCK | #ifdef USE_WINSOCK | |||
#include <iphlpapi.h> | #include <iphlpapi.h> | |||
#include <ares_iphlpapi.h> | #include "ares_iphlpapi.h" | |||
typedef DWORD (WINAPI *fpGetNetworkParams_t) (FIXED_INFO*, DWORD*); | typedef DWORD (WINAPI *fpGetNetworkParams_t) (FIXED_INFO*, DWORD*); | |||
typedef BOOLEAN (APIENTRY *fpSystemFunction036_t) (void*, ULONG); | typedef BOOLEAN (APIENTRY *fpSystemFunction036_t) (void*, ULONG); | |||
typedef ULONG (WINAPI *fpGetAdaptersAddresses_t) ( ULONG, ULONG, void*, IP_ADAPT ER_ADDRESSES*, ULONG* ); | typedef ULONG (WINAPI *fpGetAdaptersAddresses_t) ( ULONG, ULONG, void*, IP_ADAPT ER_ADDRESSES*, ULONG* ); | |||
typedef NETIO_STATUS (WINAPI *fpGetBestRoute2_t) ( NET_LUID *, NET_IFINDEX, cons t SOCKADDR_INET *, const SOCKADDR_INET *, ULONG, PMIB_IPFORWARD_ROW2, SOCKADDR_I NET * ); | typedef NETIO_STATUS (WINAPI *fpGetBestRoute2_t) ( NET_LUID *, NET_IFINDEX, cons t SOCKADDR_INET *, const SOCKADDR_INET *, ULONG, PMIB_IPFORWARD_ROW2, SOCKADDR_I NET * ); | |||
/* Forward-declaration of variables defined in ares_library_init.c */ | /* Forward-declaration of variables defined in ares_library_init.c */ | |||
/* that are global and unique instances for whole c-ares library. */ | /* that are global and unique instances for whole c-ares library. */ | |||
extern fpGetNetworkParams_t ares_fpGetNetworkParams; | extern fpGetNetworkParams_t ares_fpGetNetworkParams; | |||
extern fpSystemFunction036_t ares_fpSystemFunction036; | extern fpSystemFunction036_t ares_fpSystemFunction036; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |