xref: /titanic_52/usr/src/lib/libresolv2/common/irs/nis_p.h (revision c2580b931007758eab8cb5ae8726ebe1588e259b)
1 /*
2  * Copyright (c) 1997-2000 by Sun Microsystems, Inc.
3  * All rights reserved.
4  */
5 
6 /*
7  * Copyright (c) 1996,1999 by Internet Software Consortium.
8  *
9  * Permission to use, copy, modify, and distribute this software for any
10  * purpose with or without fee is hereby granted, provided that the above
11  * copyright notice and this permission notice appear in all copies.
12  *
13  * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
14  * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
15  * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
16  * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
17  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
18  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
19  * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
20  * SOFTWARE.
21  */
22 
23 #pragma ident	"%Z%%M%	%I%	%E% SMI"
24 
25 /*
26  * $Id: nis_p.h,v 1.6 1999/01/08 19:25:03 vixie Exp $
27  */
28 
29 /*
30  * nis_p.h - private include file for the NIS functions.
31  */
32 
33 /*
34  * Object state.
35  */
36 struct nis_p {
37 	char *			domain;
38 	struct __res_state *	res;
39 	void                    (*free_res) __P((void *));
40 };
41 
42 
43 /*
44  * Methods.
45  */
46 
47 extern struct irs_gr *	irs_nis_gr __P((struct irs_acc *));
48 extern struct irs_pw *	irs_nis_pw __P((struct irs_acc *));
49 extern struct irs_sv *	irs_nis_sv __P((struct irs_acc *));
50 extern struct irs_pr *	irs_nis_pr __P((struct irs_acc *));
51 extern struct irs_ho *	irs_nis_ho __P((struct irs_acc *));
52 extern struct irs_nw *	irs_nis_nw __P((struct irs_acc *));
53 extern struct irs_ng *	irs_nis_ng __P((struct irs_acc *));
54