/[resiprocate]/main/contrib/ares/ares.h
ViewVC logotype

Diff of /main/contrib/ares/ares.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3880 by derek, Thu Feb 10 20:56:07 2005 UTC revision 3940 by rohan, Fri Mar 4 02:29:54 2005 UTC
# Line 30  Line 30 
30  #endif  #endif
31    
32  #include <sys/types.h>  #include <sys/types.h>
33  //#include <netinet/in.h>  #include <netinet/in.h>  
34    /* why was this commented out?! */
35    
36    
37  #define ARES_SUCCESS            0  #define ARES_SUCCESS            0
# Line 76  Line 77 
77  #define ARES_OPT_DOMAINS        (1 << 7)  #define ARES_OPT_DOMAINS        (1 << 7)
78  #define ARES_OPT_LOOKUPS        (1 << 8)  #define ARES_OPT_LOOKUPS        (1 << 8)
79    
80    #ifdef HAS_IPV6
81    struct multiFamilyAddr {
82      u_int8_t family;
83      struct in6_addr addr6;
84      struct in_addr addr;
85    };
86    #endif
87    
88  struct ares_options {  struct ares_options {
89    int flags;    int flags;
90    int timeout;    int timeout;
# Line 83  Line 92 
92    int ndots;    int ndots;
93    unsigned short udp_port;    unsigned short udp_port;
94    unsigned short tcp_port;    unsigned short tcp_port;
95    #ifdef HAS_IPV6
96      struct multiFamilyAddr *servers;
97    #else
98    struct in_addr *servers;    struct in_addr *servers;
99    #endif
100    int nservers;    int nservers;
101    char **domains;    char **domains;
102    int ndomains;    int ndomains;

Legend:
Removed from v.3880  
changed lines
  Added in v.3940

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27