xref: /onnv-gate/usr/src/lib/libresolv2/common/resolv/res_private.h (revision 11038:74b12212b8a2)
10Sstevel@tonic-gate #ifndef res_private_h
20Sstevel@tonic-gate #define res_private_h
30Sstevel@tonic-gate 
40Sstevel@tonic-gate struct __res_state_ext {
50Sstevel@tonic-gate 	union res_sockaddr_union nsaddrs[MAXNS];
60Sstevel@tonic-gate 	struct sort_list {
70Sstevel@tonic-gate 		int     af;
80Sstevel@tonic-gate 		union {
90Sstevel@tonic-gate 			struct in_addr  ina;
100Sstevel@tonic-gate 			struct in6_addr in6a;
110Sstevel@tonic-gate 		} addr, mask;
120Sstevel@tonic-gate 	} sort_list[MAXRESOLVSORT];
130Sstevel@tonic-gate 	char nsuffix[64];
140Sstevel@tonic-gate 	char nsuffix2[64];
150Sstevel@tonic-gate };
160Sstevel@tonic-gate 
170Sstevel@tonic-gate extern int
180Sstevel@tonic-gate res_ourserver_p(const res_state statp, const struct sockaddr *sa);
190Sstevel@tonic-gate 
200Sstevel@tonic-gate #endif
21*11038SRao.Shoaib@Sun.COM 
22*11038SRao.Shoaib@Sun.COM /*! \file */
23