1789Sahrens /* 2789Sahrens * CDDL HEADER START 3789Sahrens * 4789Sahrens * The contents of this file are subject to the terms of the 5*2082Seschrock * Common Development and Distribution License (the "License"). 6*2082Seschrock * You may not use this file except in compliance with the License. 7789Sahrens * 8789Sahrens * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9789Sahrens * or http://www.opensolaris.org/os/licensing. 10789Sahrens * See the License for the specific language governing permissions 11789Sahrens * and limitations under the License. 12789Sahrens * 13789Sahrens * When distributing Covered Code, include this CDDL HEADER in each 14789Sahrens * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15789Sahrens * If applicable, add the following below this CDDL HEADER, with the 16789Sahrens * fields enclosed by brackets "[]" replaced with your own identifying 17789Sahrens * information: Portions Copyright [yyyy] [name of copyright owner] 18789Sahrens * 19789Sahrens * CDDL HEADER END 20789Sahrens */ 21789Sahrens /* 22*2082Seschrock * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23789Sahrens * Use is subject to license terms. 24789Sahrens */ 25789Sahrens 26789Sahrens #ifndef ZFS_ITER_H 27789Sahrens #define ZFS_ITER_H 28789Sahrens 29789Sahrens #pragma ident "%Z%%M% %I% %E% SMI" 30789Sahrens 31789Sahrens #ifdef __cplusplus 32789Sahrens extern "C" { 33789Sahrens #endif 34789Sahrens 35*2082Seschrock int zfs_for_each(int, char **, boolean_t, zfs_type_t, zfs_iter_f, void *); 36789Sahrens 37789Sahrens #ifdef __cplusplus 38789Sahrens } 39789Sahrens #endif 40789Sahrens 41789Sahrens #endif /* ZFS_ITER_H */ 42