]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - lib/libc/resolv/res_private.h
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / lib / libc / resolv / res_private.h
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 */