2N/A/*
2N/A * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
2N/A * Copyright (c) 1996,1999 by Internet Software Consortium.
2N/A *
2N/A * Permission to use, copy, modify, and distribute this software for any
2N/A * purpose with or without fee is hereby granted, provided that the above
2N/A * copyright notice and this permission notice appear in all copies.
2N/A *
2N/A * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
2N/A * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
2N/A * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
2N/A * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
2N/A * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
2N/A * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
2N/A * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2N/A */
2N/A
2N/A/*
2N/A * $Id: irs_data.h,v 1.3 2005/04/27 04:56:30 sra Exp $
2N/A */
2N/A
2N/A#ifndef __BIND_NOSTATIC
2N/A
2N/A#define net_data_init __net_data_init
2N/A
2N/Astruct net_data {
2N/A struct irs_acc * irs;
2N/A
2N/A struct irs_gr * gr;
2N/A struct irs_pw * pw;
2N/A struct irs_sv * sv;
2N/A struct irs_pr * pr;
2N/A struct irs_ho * ho;
2N/A struct irs_nw * nw;
2N/A struct irs_ng * ng;
2N/A
2N/A struct group * gr_last;
2N/A struct passwd * pw_last;
2N/A struct servent * sv_last;
2N/A struct protoent * pr_last;
2N/A struct netent * nw_last; /*%< should have been ne_last */
2N/A struct nwent * nww_last;
2N/A struct hostent * ho_last;
2N/A
2N/A unsigned int gr_stayopen :1;
2N/A unsigned int pw_stayopen :1;
2N/A unsigned int sv_stayopen :1;
2N/A unsigned int pr_stayopen :1;
2N/A unsigned int ho_stayopen :1;
2N/A unsigned int nw_stayopen :1;
2N/A
2N/A void * nw_data;
2N/A void * ho_data;
2N/A
2N/A struct __res_state * res; /*%< for gethostent.c */
2N/A};
2N/A
2N/Aextern struct net_data * net_data_init(const char *conf_file);
2N/Aextern void net_data_minimize(struct net_data *);
2N/A
2N/A#endif /*__BIND_NOSTATIC*/
2N/A
2N/A/*! \file */