summaryrefslogtreecommitdiffstats
path: root/cmd/zfs/zfs_iter.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zfs/zfs_iter.h')
-rw-r--r--cmd/zfs/zfs_iter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/zfs/zfs_iter.h b/cmd/zfs/zfs_iter.h
index 8c6b9fdef..7f740e75e 100644
--- a/cmd/zfs/zfs_iter.h
+++ b/cmd/zfs/zfs_iter.h
@@ -43,11 +43,13 @@ typedef struct zfs_sort_column {
#define ZFS_ITER_PROP_LISTSNAPS (1 << 2)
#define ZFS_ITER_DEPTH_LIMIT (1 << 3)
#define ZFS_ITER_RECVD_PROPS (1 << 4)
+#define ZFS_ITER_SIMPLE (1 << 5)
int zfs_for_each(int, char **, int options, zfs_type_t,
zfs_sort_column_t *, zprop_list_t **, int, zfs_iter_f, void *);
int zfs_add_sort_column(zfs_sort_column_t **, const char *, boolean_t);
void zfs_free_sort_columns(zfs_sort_column_t *);
+int zfs_sort_only_by_name(const zfs_sort_column_t *);
#ifdef __cplusplus
}