4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #ifndef _ZLIBZFS_JNI_MAIN_H
28 #define _ZLIBZFS_JNI_MAIN_H
30 #pragma ident "%Z%%M% %I% %E% SMI"
39 * Class: com_sun_zfs_common_model_SystemDataModel
40 * Method: getImportablePools
41 * Signature: ([Ljava/lang/String;)[Ljava/lang/String;
43 JNIEXPORT jobjectArray JNICALL
44 Java_com_sun_zfs_common_model_SystemDataModel_getImportablePools(
45 JNIEnv
*, jobject
, jobjectArray
);
48 * Class: com_sun_zfs_common_model_SystemDataModel
50 * Signature: ()[Lcom/sun/zfs/common/model/Pool;
52 JNIEXPORT jobjectArray JNICALL
53 Java_com_sun_zfs_common_model_SystemDataModel_getPools(
57 * Class: com_sun_zfs_common_model_SystemDataModel
59 * Signature: (Ljava/lang/String;)
60 * Lcom/sun/zfs/common/model/Pool;
62 JNIEXPORT jobject JNICALL
63 Java_com_sun_zfs_common_model_SystemDataModel_getPool(
64 JNIEnv
*, jobject
, jstring
);
67 * Class: com_sun_zfs_common_model_SystemDataModel
68 * Method: getFileSystems
69 * Signature: (Ljava/lang/String;)
70 * [Lcom/sun/zfs/common/model/FileSystem;
72 JNIEXPORT jobjectArray JNICALL
73 Java_com_sun_zfs_common_model_SystemDataModel_getFileSystems(
74 JNIEnv
*, jobject
, jstring
);
77 * Class: com_sun_zfs_common_model_SystemDataModel
78 * Method: getFileSystem
79 * Signature: (Ljava/lang/String;)
80 * Lcom/sun/zfs/common/model/FileSystem;
82 JNIEXPORT jobject JNICALL
83 Java_com_sun_zfs_common_model_SystemDataModel_getFileSystem(
84 JNIEnv
*, jobject
, jstring
);
87 * Class: com_sun_zfs_common_model_SystemDataModel
89 * Signature: (Ljava/lang/String;)
90 * [Lcom/sun/zfs/common/model/Volume;
92 JNIEXPORT jobjectArray JNICALL
93 Java_com_sun_zfs_common_model_SystemDataModel_getVolumes(
94 JNIEnv
*, jobject
, jstring
);
97 * Class: com_sun_zfs_common_model_SystemDataModel
99 * Signature: (Ljava/lang/String;)
100 * Lcom/sun/zfs/common/model/Volume;
102 JNIEXPORT jobject JNICALL
103 Java_com_sun_zfs_common_model_SystemDataModel_getVolume(
104 JNIEnv
*, jobject
, jstring
);
107 * Class: com_sun_zfs_common_model_SystemDataModel
108 * Method: getSnapshots
109 * Signature: (Ljava/lang/String;)
110 * [Lcom/sun/zfs/common/model/Snapshot;
112 JNIEXPORT jobjectArray JNICALL
113 Java_com_sun_zfs_common_model_SystemDataModel_getSnapshots(
114 JNIEnv
*, jobject
, jstring
);
117 * Class: com_sun_zfs_common_model_SystemDataModel
118 * Method: getSnapshot
119 * Signature: (Ljava/lang/String;)
120 * Lcom/sun/zfs/common/model/Snapshot;
122 JNIEXPORT jobject JNICALL
123 Java_com_sun_zfs_common_model_SystemDataModel_getSnapshot(
124 JNIEnv
*, jobject
, jstring
);
127 * Class: com_sun_zfs_common_model_SystemDataModel
128 * Method: getDatasets
129 * Signature: (Ljava/lang/String;)
130 * [Lcom/sun/zfs/common/model/Dataset;
132 JNIEXPORT jobjectArray JNICALL
133 Java_com_sun_zfs_common_model_SystemDataModel_getDatasets(
134 JNIEnv
*, jobject
, jstring
);
137 * Class: com_sun_zfs_common_model_SystemDataModel
139 * Signature: (Ljava/lang/String;)
140 * Lcom/sun/zfs/common/model/Dataset;
142 JNIEXPORT jobject JNICALL
143 Java_com_sun_zfs_common_model_SystemDataModel_getDataset(
144 JNIEnv
*, jobject
, jstring
);
147 * Class: com_sun_zfs_common_model_SystemDataModel
148 * Method: getVirtualDevice
149 * Signature: (Ljava/lang/String;J)Lcom/sun/zfs/common/model/VirtualDevice;
151 JNIEXPORT jobject JNICALL
152 Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevice(
153 JNIEnv
*, jobject
, jstring
, jlong
);
156 * Class: com_sun_zfs_common_model_SystemDataModel
157 * Method: getVirtualDevices
158 * Signature: (Ljava/lang/String;)
159 * [Lcom/sun/zfs/common/model/VirtualDevice;
161 JNIEXPORT jobjectArray JNICALL
163 Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevices__Ljava_lang_String_2(
164 JNIEnv
*, jobject
, jstring
);
167 * Class: com_sun_zfs_common_model_SystemDataModel
168 * Method: getVirtualDevices
169 * Signature: (Ljava/lang/String;J)[Lcom/sun/zfs/common/model/VirtualDevice;
171 JNIEXPORT jobjectArray JNICALL
173 Java_com_sun_zfs_common_model_SystemDataModel_getVirtualDevices__Ljava_lang_String_2J(
174 JNIEnv
*, jobject
, jstring
, jlong
);
177 * Class: com_sun_zfs_common_model_SystemDataModel
178 * Method: getAvailableDisks
179 * Signature: ()[Lcom/sun/zfs/common/model/DiskDevice;
181 JNIEXPORT jobjectArray JNICALL
182 Java_com_sun_zfs_common_model_SystemDataModel_getAvailableDisks(
186 * Class: com_sun_zfs_common_model_SystemDataModel
187 * Method: getDependents
188 * Signature: ([Ljava/lang/String;)
189 * [Lcom/sun/zfs/common/model/Dataset;
191 JNIEXPORT jobjectArray JNICALL
192 Java_com_sun_zfs_common_model_SystemDataModel_getDependents(
193 JNIEnv
*, jobject
, jobjectArray
);
196 * Class: com_sun_zfs_common_model_SystemDataModel
197 * Method: getPropertyDefault
198 * Signature: (Ljava/lang/String;)
199 * Lcom/sun/zfs/common/model/Property;
201 JNIEXPORT jobject JNICALL
202 Java_com_sun_zfs_common_model_SystemDataModel_getPropertyDefault(
203 JNIEnv
*, jobject
, jstring
);
206 * Class: com_sun_zfs_common_model_SystemDataModel
207 * Method: getValidPropertyNames
208 * Signature: (Ljava/lang/Class;)
209 * [Ljava/lang/String;
211 JNIEXPORT jobjectArray JNICALL
212 Java_com_sun_zfs_common_model_SystemDataModel_getValidPropertyNames(
213 JNIEnv
*, jobject
, jclass
);
216 * Class: com_sun_zfs_common_model_SystemDataModel
217 * Method: getPoolCurrentVersion
221 JNIEXPORT jlong JNICALL
222 Java_com_sun_zfs_common_model_SystemDataModel_getPoolCurrentVersion(
229 #endif /* _ZLIBZFS_JNI_MAIN_H */