blob: 8341913099d44f6527997a49392d34fe293795f2 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/* $NetBSD: res_private.h,v 1.1.1.1 2004/05/20 17:18:54 christos Exp $ */
2
3#ifndef res_private_h
4#define res_private_h
5
6struct __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
19extern int
20res_ourserver_p(const res_state statp, const struct sockaddr *sa);
21
22#endif