xref: /titanic_50/usr/src/lib/libresolv2/common/resolv/res_private.h (revision e2ca2865a6870e9c6cbef6becbcc68cafde64537)
1 #ifndef res_private_h
2 #define res_private_h
3 
4 struct __res_state_ext {
5 	union res_sockaddr_union nsaddrs[MAXNS];
6 	struct sort_list {
7 		int     af;
8 		union {
9 			struct in_addr  ina;
10 			struct in6_addr in6a;
11 		} addr, mask;
12 	} sort_list[MAXRESOLVSORT];
13 	char nsuffix[64];
14 	char nsuffix2[64];
15 };
16 
17 extern int
18 res_ourserver_p(const res_state statp, const struct sockaddr *sa);
19 
20 #endif
21 
22 /*! \file */
23