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