vfs: check userland buffers before reading them.
[haiku.git] / src / kits / network / netresolv / resolv / res_private.h
blob6f78bc0e7eff0bb927f25d4aa5d645649e173973
1 /* $NetBSD: res_private.h,v 1.3 2009/10/24 17:24:01 christos Exp $ */
3 #ifndef res_private_h
4 #define res_private_h
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 struct timespec res_conf_time;
18 int kq, resfd;
21 extern int res_ourserver_p(const res_state, const struct sockaddr *);
22 extern int __res_vinit(res_state, int);
24 #endif
26 /*! \file */