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