diff options
author | John <[email protected]> | 2017-10-19 11:18:42 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-10-19 11:18:42 -0700 |
commit | 6044cf59cdf80d4ba94a7b6c6736cace8a7de9db (patch) | |
tree | d738c7d82af256dfee8b79c1ff6a5018aa610b34 /include | |
parent | bbf1ad67cd0d6f3bc1e22a8a0c7448c15409d007 (diff) |
Add convenience 'zfs_get' functions
Add get functions to match existing ones.
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: John Ramsden <[email protected]>
Closes #6308
Diffstat (limited to 'include')
-rw-r--r-- | include/libzfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libzfs.h b/include/libzfs.h index ac5a30c35..7ef250f02 100644 --- a/include/libzfs.h +++ b/include/libzfs.h @@ -502,6 +502,7 @@ extern uint64_t zfs_prop_get_int(zfs_handle_t *, zfs_prop_t); extern int zfs_prop_inherit(zfs_handle_t *, const char *, boolean_t); extern const char *zfs_prop_values(zfs_prop_t); extern int zfs_prop_is_string(zfs_prop_t prop); +extern nvlist_t *zfs_get_all_props(zfs_handle_t *); extern nvlist_t *zfs_get_user_props(zfs_handle_t *); extern nvlist_t *zfs_get_recvd_props(zfs_handle_t *); extern nvlist_t *zfs_get_clones_nvl(zfs_handle_t *); |