25 lines
579 B
C
25 lines
579 B
C
#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 */
|
|
|