|
|
@ -37,6 +37,10 @@ |
|
|
|
#include <netinet/in.h> |
|
|
|
#include <netinet/in.h> |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
|
|
|
|
extern "C" { |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#define ARES_SUCCESS 0 |
|
|
|
#define ARES_SUCCESS 0 |
|
|
|
|
|
|
|
|
|
|
|
/* Server error codes (ARES_ENODATA indicates no relevant answer) */ |
|
|
|
/* Server error codes (ARES_ENODATA indicates no relevant answer) */ |
|
|
@ -140,4 +144,8 @@ void ares_free_hostent(struct hostent *host); |
|
|
|
const char *ares_strerror(int code); |
|
|
|
const char *ares_strerror(int code); |
|
|
|
void ares_free_errmem(char *mem); |
|
|
|
void ares_free_errmem(char *mem); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#endif /* ARES__H */ |
|
|
|
#endif /* ARES__H */ |
|
|
|