libzfs_jni_property.c revision 91ebeef555ce7f899b6270a3c2df47b51f7ad59a
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe * CDDL HEADER START
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe * The contents of this file are subject to the terms of the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe * Common Development and Distribution License (the "License").
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe * You may not use this file except in compliance with the License.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe * See the License for the specific language governing permissions
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe * and limitations under the License.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe * When distributing Covered Code, include this CDDL HEADER in each
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov * If applicable, add the following below this CDDL HEADER, with the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe * fields enclosed by brackets "[]" replaced with your own identifying
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov * information: Portions Copyright [yyyy] [name of copyright owner]
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov * CDDL HEADER END
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe * Use is subject to license terms.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#pragma ident "%Z%%M% %I% %E% SMI"
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov/* Signature for function to convert string to a specific Java object */
typedef struct custom_prop_desct {
char *propClass;
char *valueClass;
static jobject
if (result == 0)
if (result == 0)
return (propertyObject);
static jobject
static jobject
static jobject
static jobject
if (result == 0)
if (result == 0)
return (propertyObject);
static jobject
return (propertyObject);
static jobject
static jobject
static jobject
static jobject
return (propertyObject);
static jobject
static jobject
static jobject
static jobject
static jobject
static jobject
static jobject
return (NULL);
static zfs_prop_t
return (prop);
return (ZFS_PROP_CONT);
return (NULL);
#ifdef DEBUG
return (NULL);
#ifdef DEBUG
return (NULL);
#ifdef DEBUG
return (NULL);
#ifdef DEBUG