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