diff options
Diffstat (limited to 'include/libzfs.h')
-rw-r--r-- | include/libzfs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libzfs.h b/include/libzfs.h index b604f1194..8d79fe69e 100644 --- a/include/libzfs.h +++ b/include/libzfs.h @@ -816,6 +816,13 @@ void libzfs_free_str_array(char **strs, int count); int libzfs_envvar_is_set(char *envvar); /* + * Utility functions for zfs version + */ +extern void zfs_version_userland(char *, int); +extern int zfs_version_kernel(char *, int); +extern int zfs_version_print(void); + +/* * Given a device or file, determine if it is part of a pool. */ extern int zpool_in_use(libzfs_handle_t *, int, pool_state_t *, char **, |