summaryrefslogtreecommitdiffstats
path: root/include/libzutil.h
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2019-09-30 12:16:06 -0700
committerBrian Behlendorf <[email protected]>2019-09-30 12:16:06 -0700
commit3283f137d713dce293983e573a62c344ddcf8a19 (patch)
tree0ee2ca31612d7422d6ca750f59a9ab4ce632d5a3 /include/libzutil.h
parent7bb0c294688ed121477536d7b4a7031c78a5706a (diff)
OpenZFS restructuring - zpool
Factor Linux specific functions out of the zpool command. Reviewed-by: Allan Jude <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Sean Eric Fagan <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: loli10K <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #9333
Diffstat (limited to 'include/libzutil.h')
-rw-r--r--include/libzutil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libzutil.h b/include/libzutil.h
index 69d1e6bbd..7c483f0d9 100644
--- a/include/libzutil.h
+++ b/include/libzutil.h
@@ -117,6 +117,8 @@ extern boolean_t is_mpath_whole_disk(const char *);
#define is_mpath_whole_disk(path) (B_FALSE)
#endif
+extern boolean_t zfs_isnumber(const char *);
+
/*
* Formats for iostat numbers. Examples: "12K", "30ms", "4B", "2321234", "-".
*