Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / libbind / dist / irs / irs_data.h
bloba8ff2c57c8f854e5bd628ac54f4d41b422c23cb0
1 /* $NetBSD$ */
3 /*
4 * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
5 * Copyright (c) 1996,1999 by Internet Software Consortium.
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.
11 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
12 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
14 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
17 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21 * Id: irs_data.h,v 1.3 2005/04/27 04:56:30 sra Exp
24 #ifndef __BIND_NOSTATIC
26 #define net_data_init __net_data_init
28 struct net_data {
29 struct irs_acc * irs;
31 struct irs_gr * gr;
32 struct irs_pw * pw;
33 struct irs_sv * sv;
34 struct irs_pr * pr;
35 struct irs_ho * ho;
36 struct irs_nw * nw;
37 struct irs_ng * ng;
39 struct group * gr_last;
40 struct passwd * pw_last;
41 struct servent * sv_last;
42 struct protoent * pr_last;
43 struct netent * nw_last; /*%< should have been ne_last */
44 struct nwent * nww_last;
45 struct hostent * ho_last;
47 unsigned int gr_stayopen :1;
48 unsigned int pw_stayopen :1;
49 unsigned int sv_stayopen :1;
50 unsigned int pr_stayopen :1;
51 unsigned int ho_stayopen :1;
52 unsigned int nw_stayopen :1;
54 void * nw_data;
55 void * ho_data;
57 struct __res_state * res; /*%< for gethostent.c */
60 extern struct net_data * net_data_init(const char *conf_file);
61 extern void net_data_minimize(struct net_data *);
63 #endif /*__BIND_NOSTATIC*/
65 /*! \file */