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