summaryrefslogtreecommitdiffstats
path: root/cmd/zfs/zfs_iter.h
diff options
context:
space:
mode:
authorYuri Pankov <[email protected]>2013-11-19 16:41:37 +0100
committerBrian Behlendorf <[email protected]>2013-11-21 11:13:53 -0800
commit54d5378faea6861156fe94b4cd8d817836ed0242 (patch)
treec435a6974880526cb9966eb3d1db470c5de28bae /cmd/zfs/zfs_iter.h
parente3dc14b86182a82d99faaa5979846750d937160e (diff)
Illumos #2583
2583 Add -p (parsable) option to zfs list References: https://www.illumos.org/issues/2583 illumos/illumos-gate@43d68d68c1ce08fb35026bebfb141af422e7082e Ported-by: Gregor Kopka <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes: #937
Diffstat (limited to 'cmd/zfs/zfs_iter.h')
-rw-r--r--cmd/zfs/zfs_iter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/zfs/zfs_iter.h b/cmd/zfs/zfs_iter.h
index 7f740e75e..2697fbdca 100644
--- a/cmd/zfs/zfs_iter.h
+++ b/cmd/zfs/zfs_iter.h
@@ -18,9 +18,11 @@
*
* CDDL HEADER END
*/
+
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
*/
#ifndef ZFS_ITER_H
@@ -43,7 +45,8 @@ 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)
+#define ZFS_ITER_LITERAL_PROPS (1 << 5)
+#define ZFS_ITER_SIMPLE (1 << 6)
int zfs_for_each(int, char **, int options, zfs_type_t,
zfs_sort_column_t *, zprop_list_t **, int, zfs_iter_f, void *);