xref: /titanic_50/usr/src/lib/libresolv2/common/irs/lcl_p.h (revision 2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41)
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: lcl_p.h,v 1.7 1999/01/08 19:24:51 vixie Exp $
27  */
28 
29 /*
30  * lcl_p.h - private include file for the local accessor functions.
31  */
32 
33 #ifndef _LCL_P_H_INCLUDED
34 #define _LCL_P_H_INCLUDED
35 
36 /*
37  * Object state.
38  */
39 struct lcl_p {
40 	struct __res_state *	res;
41 	void                    (*free_res) __P((void *));
42 };
43 
44 /*
45  * Externs.
46  */
47 
48 extern struct irs_acc *	irs_lcl_acc __P((const char *));
49 extern struct irs_gr *	irs_lcl_gr __P((struct irs_acc *));
50 extern struct irs_pw *	irs_lcl_pw __P((struct irs_acc *));
51 extern struct irs_sv *	irs_lcl_sv __P((struct irs_acc *));
52 extern struct irs_pr *	irs_lcl_pr __P((struct irs_acc *));
53 extern struct irs_ho *	irs_lcl_ho __P((struct irs_acc *));
54 extern struct irs_nw *	irs_lcl_nw __P((struct irs_acc *));
55 extern struct irs_ng *	irs_lcl_ng __P((struct irs_acc *));
56 
57 #endif /*_LCL_P_H_INCLUDED*/
58