xref: /illumos-gate/usr/src/lib/libresolv2/common/resolv/res_private.h (revision e8d80663e4f91871f843bb8ad9108dc0b76dfcf3)
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