Deleted Added
full compact
zfs_iter.h (219089) zfs_iter.h (230438)
1/*
2 * CDDL HEADER START
3 *
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.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 29 unchanged lines hidden (view full) ---

38 boolean_t sc_reverse;
39} zfs_sort_column_t;
40
41#define ZFS_ITER_RECURSE (1 << 0)
42#define ZFS_ITER_ARGS_CAN_BE_PATHS (1 << 1)
43#define ZFS_ITER_PROP_LISTSNAPS (1 << 2)
44#define ZFS_ITER_DEPTH_LIMIT (1 << 3)
45#define ZFS_ITER_RECVD_PROPS (1 << 4)
1/*
2 * CDDL HEADER START
3 *
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.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 29 unchanged lines hidden (view full) ---

38 boolean_t sc_reverse;
39} zfs_sort_column_t;
40
41#define ZFS_ITER_RECURSE (1 << 0)
42#define ZFS_ITER_ARGS_CAN_BE_PATHS (1 << 1)
43#define ZFS_ITER_PROP_LISTSNAPS (1 << 2)
44#define ZFS_ITER_DEPTH_LIMIT (1 << 3)
45#define ZFS_ITER_RECVD_PROPS (1 << 4)
46#define ZFS_ITER_SIMPLE (1 << 5)
46
47int zfs_for_each(int, char **, int options, zfs_type_t,
48 zfs_sort_column_t *, zprop_list_t **, int, zfs_iter_f, void *);
49int zfs_add_sort_column(zfs_sort_column_t **, const char *, boolean_t);
50void zfs_free_sort_columns(zfs_sort_column_t *);
47
48int zfs_for_each(int, char **, int options, zfs_type_t,
49 zfs_sort_column_t *, zprop_list_t **, int, zfs_iter_f, void *);
50int zfs_add_sort_column(zfs_sort_column_t **, const char *, boolean_t);
51void zfs_free_sort_columns(zfs_sort_column_t *);
52boolean_t zfs_sort_only_by_name(const zfs_sort_column_t *);
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif /* ZFS_ITER_H */
53
54#ifdef __cplusplus
55}
56#endif
57
58#endif /* ZFS_ITER_H */