xref: /onnv-gate/usr/src/lib/fm/topo/libtopo/common/legacy_hc.h (revision 7197:6062b005c7ea)
1*7197Sstephh /*
2*7197Sstephh  * CDDL HEADER START
3*7197Sstephh  *
4*7197Sstephh  * The contents of this file are subject to the terms of the
5*7197Sstephh  * Common Development and Distribution License (the "License").
6*7197Sstephh  * You may not use this file except in compliance with the License.
7*7197Sstephh  *
8*7197Sstephh  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*7197Sstephh  * or http://www.opensolaris.org/os/licensing.
10*7197Sstephh  * See the License for the specific language governing permissions
11*7197Sstephh  * and limitations under the License.
12*7197Sstephh  *
13*7197Sstephh  * When distributing Covered Code, include this CDDL HEADER in each
14*7197Sstephh  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*7197Sstephh  * If applicable, add the following below this CDDL HEADER, with the
16*7197Sstephh  * fields enclosed by brackets "[]" replaced with your own identifying
17*7197Sstephh  * information: Portions Copyright [yyyy] [name of copyright owner]
18*7197Sstephh  *
19*7197Sstephh  * CDDL HEADER END
20*7197Sstephh  */
21*7197Sstephh 
22*7197Sstephh /*
23*7197Sstephh  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24*7197Sstephh  * Use is subject to license terms.
25*7197Sstephh  */
26*7197Sstephh 
27*7197Sstephh #ifndef	_LEGACY_HC_H
28*7197Sstephh #define	_LEGACY_HC_H
29*7197Sstephh 
30*7197Sstephh #pragma ident	"%Z%%M%	%I%	%E% SMI"
31*7197Sstephh 
32*7197Sstephh #ifdef	__cplusplus
33*7197Sstephh extern "C" {
34*7197Sstephh #endif
35*7197Sstephh 
36*7197Sstephh #define	LEGACY_HC_VERSION	1
37*7197Sstephh #define	LEGACY_HC		"legacy-hc"
38*7197Sstephh 
39*7197Sstephh extern int legacy_hc_init(topo_mod_t *, topo_version_t);
40*7197Sstephh extern void legacy_hc_fini(topo_mod_t *);
41*7197Sstephh 
42*7197Sstephh #ifdef	__cplusplus
43*7197Sstephh }
44*7197Sstephh #endif
45*7197Sstephh 
46*7197Sstephh #endif	/* _LEGACY_HC_H */
47