X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=include%2Flibzfs.h;h=23422b2c964106fedb1a13cebebaf9f509381db5;hb=2cf7f52bc42f215d4ef27d0fd75fc1b1417cb841;hp=082b690e92492639c1df3546802131f678a23faa;hpb=feb46b92a7619a3bb67b925e24184fe70464d261;p=zfs.git diff --git a/include/libzfs.h b/include/libzfs.h index 082b690..23422b2 100644 --- a/include/libzfs.h +++ b/include/libzfs.h @@ -436,6 +436,7 @@ extern int zfs_prop_get_userquota_int(zfs_handle_t *zhp, const char *propname, uint64_t *propvalue); extern int zfs_prop_get_userquota(zfs_handle_t *zhp, const char *propname, char *propbuf, int proplen, boolean_t literal); +extern uint64_t getprop_uint64(zfs_handle_t *, zfs_prop_t, char **); 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); @@ -675,7 +676,10 @@ extern int zfs_nicestrtonum(libzfs_handle_t *, const char *, uint64_t *); /* * Utility functions to run an external process. */ -int libzfs_run_process(const char *, char **); +#define STDOUT_VERBOSE 0x01 +#define STDERR_VERBOSE 0x02 + +int libzfs_run_process(const char *, char **, int flags); int libzfs_load_module(const char *); /*