aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse_common.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2007-06-20 21:37:58 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2007-06-20 21:37:58 +0000
commit62c24a8e4b10d77e08ee4a40c6f6b6a8d1eafeab (patch)
treea94336f70cf1199760a84089c8e83dfe1fe01167 /include/fuse_common.h
parent2b3a22fea0509681d9e86d5131a0008165bbf6ba (diff)
downloadlibfuse-62c24a8e4b10d77e08ee4a40c6f6b6a8d1eafeab.tar.gz
Add fs subtype support to libfuse and fusermount
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 *
* ----------------------------------------------------------- */