Home | History | Annotate | Line # | Download | only in resolv
res_private.h revision 1.2
      1  1.2  christos /*	$NetBSD: res_private.h,v 1.2 2009/10/24 05:35:37 christos Exp $	*/
      2  1.1  christos 
      3  1.1  christos #ifndef res_private_h
      4  1.1  christos #define res_private_h
      5  1.1  christos 
      6  1.1  christos struct __res_state_ext {
      7  1.1  christos 	union res_sockaddr_union nsaddrs[MAXNS];
      8  1.1  christos 	struct sort_list {
      9  1.1  christos 		int     af;
     10  1.1  christos 		union {
     11  1.1  christos 			struct in_addr  ina;
     12  1.1  christos 			struct in6_addr in6a;
     13  1.1  christos 		} addr, mask;
     14  1.1  christos 	} sort_list[MAXRESOLVSORT];
     15  1.1  christos 	char nsuffix[64];
     16  1.1  christos 	char nsuffix2[64];
     17  1.2  christos 	struct timespec res_conf_time;
     18  1.2  christos 	int kq, resfd;
     19  1.1  christos };
     20  1.1  christos 
     21  1.2  christos extern int res_ourserver_p(const res_state, const struct sockaddr *);
     22  1.2  christos extern int __res_vinit(res_state, int);
     23  1.2  christos extern void __res_check(res_state);
     24  1.1  christos 
     25  1.1  christos #endif
     26  1.2  christos 
     27  1.2  christos /*! \file */
     28