aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r--include/fuse_common.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h
index 26e9967..384bd00 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -160,9 +160,21 @@ void fuse_unmount(const char *mountpoint, struct fuse_chan *ch);
int fuse_parse_cmdline(struct fuse_args *args, char **mountpoint,
int *multithreaded, int *foreground);
-
+/**
+ * Go into the background
+ *
+ * @param foreground if true, stay in the foreground
+ * @return 0 on success, -1 on failure
+ */
int fuse_daemonize(int foreground);
+/**
+ * Get the version of the library
+ *
+ * @return the version
+ */
+int fuse_version(void);
+
/* ----------------------------------------------------------- *
* Signal handling *
* ----------------------------------------------------------- */