xref: /titanic_50/usr/src/cmd/fm/eversholt/common/lut_impl.h (revision 6cb1ca52bfd0f546d1001d9204d8ab93039de44b)
1*6cb1ca52Saf /*
2*6cb1ca52Saf  * CDDL HEADER START
3*6cb1ca52Saf  *
4*6cb1ca52Saf  * The contents of this file are subject to the terms of the
5*6cb1ca52Saf  * Common Development and Distribution License (the "License").
6*6cb1ca52Saf  * You may not use this file except in compliance with the License.
7*6cb1ca52Saf  *
8*6cb1ca52Saf  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*6cb1ca52Saf  * or http://www.opensolaris.org/os/licensing.
10*6cb1ca52Saf  * See the License for the specific language governing permissions
11*6cb1ca52Saf  * and limitations under the License.
12*6cb1ca52Saf  *
13*6cb1ca52Saf  * When distributing Covered Code, include this CDDL HEADER in each
14*6cb1ca52Saf  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*6cb1ca52Saf  * If applicable, add the following below this CDDL HEADER, with the
16*6cb1ca52Saf  * fields enclosed by brackets "[]" replaced with your own identifying
17*6cb1ca52Saf  * information: Portions Copyright [yyyy] [name of copyright owner]
18*6cb1ca52Saf  *
19*6cb1ca52Saf  * CDDL HEADER END
20*6cb1ca52Saf  */
21*6cb1ca52Saf /*
22*6cb1ca52Saf  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*6cb1ca52Saf  * Use is subject to license terms.
24*6cb1ca52Saf  */
25*6cb1ca52Saf 
26*6cb1ca52Saf #ifndef	_LUT_IMPL_H
27*6cb1ca52Saf #define	_LUT_IMPL_H
28*6cb1ca52Saf 
29*6cb1ca52Saf #pragma ident	"%Z%%M%	%I%	%E% SMI"
30*6cb1ca52Saf 
31*6cb1ca52Saf #ifdef	__cplusplus
32*6cb1ca52Saf extern "C" {
33*6cb1ca52Saf #endif
34*6cb1ca52Saf 
35*6cb1ca52Saf /*
36*6cb1ca52Saf  * ipath_impl.h -- ipath private data shared with mdb module
37*6cb1ca52Saf  */
38*6cb1ca52Saf 
39*6cb1ca52Saf /* info created by lut_add(), private to lut.c and its mdb module */
40*6cb1ca52Saf struct lut {
41*6cb1ca52Saf 	struct lut *lut_left;
42*6cb1ca52Saf 	struct lut *lut_right;
43*6cb1ca52Saf 	struct lut *lut_parent;
44*6cb1ca52Saf 	void *lut_lhs;		/* search key */
45*6cb1ca52Saf 	void *lut_rhs;		/* the datum */
46*6cb1ca52Saf };
47*6cb1ca52Saf 
48*6cb1ca52Saf #ifdef	__cplusplus
49*6cb1ca52Saf }
50*6cb1ca52Saf #endif
51*6cb1ca52Saf 
52*6cb1ca52Saf #endif	/* _LUT_IMPL_H */
53