fa9e4066f08beec538e775443c5be79dd423fcabahrens * CDDL HEADER START
fa9e4066f08beec538e775443c5be79dd423fcabahrens * The contents of this file are subject to the terms of the
bfe5f5a4bed2da6ba708c3b046a37de8b4568d4ftalley * Common Development and Distribution License (the "License").
bfe5f5a4bed2da6ba708c3b046a37de8b4568d4ftalley * You may not use this file except in compliance with the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fa9e4066f08beec538e775443c5be79dd423fcabahrens * See the License for the specific language governing permissions
fa9e4066f08beec538e775443c5be79dd423fcabahrens * and limitations under the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens * When distributing Covered Code, include this CDDL HEADER in each
fa9e4066f08beec538e775443c5be79dd423fcabahrens * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens * If applicable, add the following below this CDDL HEADER, with the
fa9e4066f08beec538e775443c5be79dd423fcabahrens * fields enclosed by brackets "[]" replaced with your own identifying
fa9e4066f08beec538e775443c5be79dd423fcabahrens * information: Portions Copyright [yyyy] [name of copyright owner]
fa9e4066f08beec538e775443c5be79dd423fcabahrens * CDDL HEADER END
fbfd10ff571cfd0139aa5127460f1b8a53dac971talley * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
fa9e4066f08beec538e775443c5be79dd423fcabahrens * Use is subject to license terms.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#pragma ident "%Z%%M% %I% %E% SMI"
bfe5f5a4bed2da6ba708c3b046a37de8b4568d4ftalleyextern "C" {
fa9e4066f08beec538e775443c5be79dd423fcabahrens * Constants
fa9e4066f08beec538e775443c5be79dd423fcabahrens#define ZFSJNI_PACKAGE_DATA "com/sun/zfs/common/model/"
c8e9ed14d97e244b9753db14caf8481f181f5750talley/* Signature for function to free data */
fa9e4066f08beec538e775443c5be79dd423fcabahrens * Function prototypes
fa9e4066f08beec538e775443c5be79dd423fcabahrensvoid zjni_throw_exception(JNIEnv *, const char *, ...);
fa9e4066f08beec538e775443c5be79dd423fcabahrensjstring zjni_get_matched_string(JNIEnv *, char *, regmatch_t *);
fa9e4066f08beec538e775443c5be79dd423fcabahrensvoid zjni_get_dataset_from_snapshot(const char *, char *, size_t);
fa9e4066f08beec538e775443c5be79dd423fcabahrensjobjectArray zjni_Collection_to_array(JNIEnv *, zjni_Collection_t *, char *);
fa9e4066f08beec538e775443c5be79dd423fcabahrensvoid zjni_new_ArrayList(JNIEnv *, zjni_ArrayList_t *);
fa9e4066f08beec538e775443c5be79dd423fcabahrensvoid zjni_new_DatasetSet(JNIEnv *, zjni_DatasetSet_t *);
fbfd10ff571cfd0139aa5127460f1b8a53dac971talley JNIEnv *, int, char *, char *, zjni_field_mapping_t *);
c8e9ed14d97e244b9753db14caf8481f181f5750talleyjobjectArray zjni_c_string_array_to_java(JNIEnv *, char **, int);
c8e9ed14d97e244b9753db14caf8481f181f5750talleychar **zjni_java_string_array_to_c(JNIEnv *, jobjectArray);
fa9e4066f08beec538e775443c5be79dd423fcabahrens#endif /* _LIBZFS_JNI_UTIL_H */