xref: /titanic_50/usr/src/lib/fm/topo/libtopo/common/zfs.h (revision b7d3956b92a285d8dac2c7f5f7e28d2ef5347ef8)
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	_ZFS_H
28*b7d3956bSstephh #define	_ZFS_H
29*b7d3956bSstephh 
30*b7d3956bSstephh #pragma ident	"%Z%%M%	%I%	%E% SMI"
31*b7d3956bSstephh 
32*b7d3956bSstephh #ifdef	__cplusplus
33*b7d3956bSstephh extern "C" {
34*b7d3956bSstephh #endif
35*b7d3956bSstephh 
36*b7d3956bSstephh #define	ZFS_VERSION	1
37*b7d3956bSstephh #define	ZFS		"zfs"
38*b7d3956bSstephh 
39*b7d3956bSstephh extern int zfs_init(topo_mod_t *, topo_version_t);	/* see zfs.c */
40*b7d3956bSstephh extern void zfs_fini(topo_mod_t *);			/* see zfs.c */
41*b7d3956bSstephh 
42*b7d3956bSstephh #ifdef	__cplusplus
43*b7d3956bSstephh }
44*b7d3956bSstephh #endif
45*b7d3956bSstephh 
46*b7d3956bSstephh #endif	/* _ZFS_H */
47