17c478bd9Sstevel@tonic-gate #ifndef res_private_h
27c478bd9Sstevel@tonic-gate #define res_private_h
37c478bd9Sstevel@tonic-gate 
47c478bd9Sstevel@tonic-gate struct __res_state_ext {
57c478bd9Sstevel@tonic-gate 	union res_sockaddr_union nsaddrs[MAXNS];
67c478bd9Sstevel@tonic-gate 	struct sort_list {
77c478bd9Sstevel@tonic-gate 		int     af;
87c478bd9Sstevel@tonic-gate 		union {
97c478bd9Sstevel@tonic-gate 			struct in_addr  ina;
107c478bd9Sstevel@tonic-gate 			struct in6_addr in6a;
117c478bd9Sstevel@tonic-gate 		} addr, mask;
127c478bd9Sstevel@tonic-gate 	} sort_list[MAXRESOLVSORT];
137c478bd9Sstevel@tonic-gate 	char nsuffix[64];
147c478bd9Sstevel@tonic-gate 	char nsuffix2[64];
157c478bd9Sstevel@tonic-gate };
167c478bd9Sstevel@tonic-gate 
177c478bd9Sstevel@tonic-gate extern int
187c478bd9Sstevel@tonic-gate res_ourserver_p(const res_state statp, const struct sockaddr *sa);
197c478bd9Sstevel@tonic-gate 
207c478bd9Sstevel@tonic-gate #endif
21*9525b14bSRao Shoaib 
22*9525b14bSRao Shoaib /*! \file */
23