xref: /netbsd/external/bsd/libbind/dist/irs/nis_p.h (revision 6550d01e)
1 /*	$NetBSD: nis_p.h,v 1.1.1.1 2009/04/12 15:33:40 christos Exp $	*/
2 
3 /*
4  * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
5  * Copyright (c) 1996,1999 by Internet Software Consortium.
6  *
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.
10  *
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.
18  */
19 
20 /*
21  * Id: nis_p.h,v 1.3 2005/04/27 04:56:33 sra Exp
22  */
23 
24 /*! \file
25  * \brief
26  * nis_p.h - private include file for the NIS functions.
27  */
28 
29 /*%
30  * Object state.
31  */
32 struct nis_p {
33 	char *			domain;
34 	struct __res_state *	res;
35 	void                    (*free_res) __P((void *));
36 };
37 
38 
39 /*
40  * Methods.
41  */
42 
43 extern struct irs_gr *	irs_nis_gr __P((struct irs_acc *));
44 extern struct irs_pw *	irs_nis_pw __P((struct irs_acc *));
45 extern struct irs_sv *	irs_nis_sv __P((struct irs_acc *));
46 extern struct irs_pr *	irs_nis_pr __P((struct irs_acc *));
47 extern struct irs_ho *	irs_nis_ho __P((struct irs_acc *));
48 extern struct irs_nw *	irs_nis_nw __P((struct irs_acc *));
49 extern struct irs_ng *	irs_nis_ng __P((struct irs_acc *));
50