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