Register .sync_fs handler
[zfs.git] / include / libzfs.h
index 6752579..e0c6950 100644 (file)
@@ -673,6 +673,15 @@ extern void zfs_nicenum(uint64_t, char *, size_t);
 extern int zfs_nicestrtonum(libzfs_handle_t *, const char *, uint64_t *);
 
 /*
+ * Utility functions to run an external process.
+ */
+#define        STDOUT_VERBOSE  0x01
+#define        STDERR_VERBOSE  0x02
+
+int libzfs_run_process(const char *, char **, int flags);
+int libzfs_load_module(const char *);
+
+/*
  * 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 **,