c8e9ed14d97e244b9753db14caf8481f181f5750talley * CDDL HEADER START
c8e9ed14d97e244b9753db14caf8481f181f5750talley * The contents of this file are subject to the terms of the
c8e9ed14d97e244b9753db14caf8481f181f5750talley * Common Development and Distribution License, Version 1.0 only
c8e9ed14d97e244b9753db14caf8481f181f5750talley * (the "License"). You may not use this file except in compliance
c8e9ed14d97e244b9753db14caf8481f181f5750talley * with the License.
c8e9ed14d97e244b9753db14caf8481f181f5750talley * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c8e9ed14d97e244b9753db14caf8481f181f5750talley * See the License for the specific language governing permissions
c8e9ed14d97e244b9753db14caf8481f181f5750talley * and limitations under the License.
c8e9ed14d97e244b9753db14caf8481f181f5750talley * When distributing Covered Code, include this CDDL HEADER in each
c8e9ed14d97e244b9753db14caf8481f181f5750talley * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c8e9ed14d97e244b9753db14caf8481f181f5750talley * If applicable, add the following below this CDDL HEADER, with the
c8e9ed14d97e244b9753db14caf8481f181f5750talley * fields enclosed by brackets "[]" replaced with your own identifying
c8e9ed14d97e244b9753db14caf8481f181f5750talley * information: Portions Copyright [yyyy] [name of copyright owner]
c8e9ed14d97e244b9753db14caf8481f181f5750talley * CDDL HEADER END
fbfd10ff571cfd0139aa5127460f1b8a53dac971talley * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
c8e9ed14d97e244b9753db14caf8481f181f5750talley * Use is subject to license terms.
c8e9ed14d97e244b9753db14caf8481f181f5750talley#pragma ident "%Z%%M% %I% %E% SMI"
c8e9ed14d97e244b9753db14caf8481f181f5750talleyextern "C" {
c8e9ed14d97e244b9753db14caf8481f181f5750talley/* Callback function for importable pool iteration */
fbfd10ff571cfd0139aa5127460f1b8a53dac971talleytypedef int (*zjni_ipool_iter_f)(nvlist_t *config, void *data);
c8e9ed14d97e244b9753db14caf8481f181f5750talley * Function prototypes
c8e9ed14d97e244b9753db14caf8481f181f5750talley int argc, char **argv, zjni_ipool_iter_f func, void *data);
fbfd10ff571cfd0139aa5127460f1b8a53dac971talleyextern char *zjni_vdev_state_to_str(vdev_state_t state);
fbfd10ff571cfd0139aa5127460f1b8a53dac971talleyextern char *zjni_pool_state_to_str(pool_state_t state);
fbfd10ff571cfd0139aa5127460f1b8a53dac971talleyextern char *zjni_pool_status_to_str(zpool_status_t status);
c8e9ed14d97e244b9753db14caf8481f181f5750talley#endif /* _LIBZFS_JNI_IPOOL_H */