diff options
author | наб <[email protected]> | 2021-05-15 12:35:46 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-05-29 14:26:38 -0700 |
commit | 757df529280d789029bb91761e31031c45c68b8f (patch) | |
tree | a0e62776be6719ad007d803da1634a9a26b9ca05 /include | |
parent | e618e4a4ff0b0512e6b6a5230d101a4baad1aabd (diff) |
libzfs: add zfs_get_underlying_type. Stop including libzfs_impl.h in cmd
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #12116
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 7ad44bc59..344d2146f 100644 --- a/include/libzfs.h +++ b/include/libzfs.h @@ -468,6 +468,7 @@ extern zfs_handle_t *zfs_open(libzfs_handle_t *, const char *, int); extern zfs_handle_t *zfs_handle_dup(zfs_handle_t *); extern void zfs_close(zfs_handle_t *); extern zfs_type_t zfs_get_type(const zfs_handle_t *); +extern zfs_type_t zfs_get_underlying_type(const zfs_handle_t *); extern const char *zfs_get_name(const zfs_handle_t *); extern zpool_handle_t *zfs_get_pool_handle(const zfs_handle_t *); extern const char *zfs_get_pool_name(const zfs_handle_t *); |