1 |
/* $Id: ares.h,v 1.6 2003/10/30 18:19:01 adamr Exp $ */ |
/* $Id: ares.h,v 1.7 2003/10/30 19:02:20 fluffy Exp $ */ |
2 |
|
|
3 |
/* Copyright 1998 by the Massachusetts Institute of Technology. |
/* Copyright 1998 by the Massachusetts Institute of Technology. |
4 |
* |
* |
22 |
#include <errno.h> |
#include <errno.h> |
23 |
#include <winsock2.h> |
#include <winsock2.h> |
24 |
#include <io.h> |
#include <io.h> |
|
|
|
25 |
#include <string.h> |
#include <string.h> |
26 |
#include <stdio.h> |
#include <stdio.h> |
27 |
|
#else |
28 |
|
#include <arpa/nameser.h> |
29 |
|
#include <arpa/nameser_compat.h> |
30 |
#endif |
#endif |
31 |
|
|
32 |
#include <sys/types.h> |
#include <sys/types.h> |
133 |
const char *ares_strerror(int code, char **memptr); |
const char *ares_strerror(int code, char **memptr); |
134 |
void ares_free_errmem(char *mem); |
void ares_free_errmem(char *mem); |
135 |
|
|
136 |
|
|
137 |
#if defined(WIN32) || defined (__CYGWIN__) |
#if defined(WIN32) || defined (__CYGWIN__) |
138 |
|
|
139 |
#define T_A 1 /* host address */ |
#define T_A 1 /* host address */ |
208 |
|
|
209 |
#endif |
#endif |
210 |
|
|
|
|
|
211 |
#endif /* ARES__H */ |
#endif /* ARES__H */ |