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