xref: /netbsd-src/lib/libresolv/res_private.h (revision ccd87bacaf0738f3087b527677a0b1067f5c76ed)
1 /*	$NetBSD: res_private.h,v 1.1 2012/11/15 18:48:49 christos Exp $	*/
2 
3 #ifndef res_private_h
4 #define res_private_h
5 
6 struct __res_state_ext {
7 	union res_sockaddr_union nsaddrs[MAXNS];
8 	struct sort_list {
9 		int     af;
10 		union {
11 			struct in_addr  ina;
12 			struct in6_addr in6a;
13 		} addr, mask;
14 	} sort_list[MAXRESOLVSORT];
15 	char nsuffix[64];
16 	char nsuffix2[64];
17 };
18 
19 extern int
20 res_ourserver_p(const res_state statp, const struct sockaddr *sa);
21 
22 #endif
23 
24 /*! \file */
25