aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse_lowlevel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fuse_lowlevel.h')
-rw-r--r--include/fuse_lowlevel.h37
1 files changed, 15 insertions, 22 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h
index 0b7ee2b..db15083 100644
--- a/include/fuse_lowlevel.h
+++ b/include/fuse_lowlevel.h
@@ -14,13 +14,12 @@
* Low level API
*
* IMPORTANT: you should define FUSE_USE_VERSION before including this
- * header. To use the newest API define it to 26 (recommended for any
- * new application), to use the old API define it to 24 (default) or
- * 25
+ * header. To use the newest API define it to 30 (recommended for any
+ * new application).
*/
#ifndef FUSE_USE_VERSION
-#define FUSE_USE_VERSION 24
+#define FUSE_USE_VERSION 30
#endif
#include "fuse_common.h"
@@ -1618,29 +1617,18 @@ int fuse_req_interrupted(fuse_req_t req);
* ----------------------------------------------------------- */
/**
- * Print FUSE library version to stdout.
+ * Print low-level version information to stdout.
*/
void fuse_lowlevel_version(void);
/**
- * Print FUSE mount (fusermount) version stdout.
- */
-void fuse_mount_version(void);
-
-/**
- * Print available low-level options to stdout.
- * These options may be passed to `fuse_session_new()`
+ * Print available low-level options to stdout. This is not an
+ * exhaustive list, but includes only those options that may be of
+ * interest to an end-user of a file system.
*/
void fuse_lowlevel_help(void);
/**
- * Print available mount options to stdout.
- * These options may be passed to `fuse_session_new()`
- */
-void fuse_mount_help(void);
-
-
-/**
* Print available options for `fuse_parse_cmdline()`.
*/
void fuse_cmdline_help(void);
@@ -1684,9 +1672,14 @@ int fuse_parse_cmdline(struct fuse_args *args,
* Returns a session structure suitable for passing to
* fuse_session_mount() and fuse_session_loop().
*
- * Known options are defined in `struct fuse_opt fuse_ll_opts[]` and
- * `struct fuse_opt fuse_mount_opts[]`. If not all options are known,
- * an error message is written to stderr and the function returns NULL.
+ * This function accepts most file-system independent mount options
+ * (like context, nodev, ro - see mount(8)), as well as the general
+ * fuse mount options listed in mount.fuse(8) (e.g. -o allow_root and
+ * -o default_permissions, but not ``-o use_ino``). Instead of `-o
+ * debug`, debugging may also enabled with `-d` or `--debug`.
+ *
+ * If not all options are known, an error message is written to stderr
+ * and the function returns NULL.
*
* @param args argument vector
* @param op the (low-level) filesystem operations