diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-07-07 15:25:41 +0200 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-07-08 12:48:08 +0200 |
commit | e870a0427adb50a64dc8bcbacfacb089872c6908 (patch) | |
tree | 454e310cc66d048ee2e45493b6abaafcb80d1749 /include/fuse.h | |
parent | 79b446d22ce8cfb387549bef2a0ddcaf6fbb3331 (diff) |
Added public fuse_lib_help(), bumped minor version
Diffstat (limited to 'include/fuse.h')
-rw-r--r-- | include/fuse.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/fuse.h b/include/fuse.h index 0c5741f..f4ac670 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -795,6 +795,19 @@ struct fuse_context { * ----------------------------------------------------------- */ /** + * Print available options (high- and low-level) 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. + * + * The function looks at the argument vector only to determine if + * there are additional modules to be loaded (module=foo option), + * and attempts to call their help functions as well. + * + * @param args the argument vector. + */ +void fuse_lib_help(struct fuse_args *args); + +/** * Create a new FUSE filesystem. * * This function accepts most file-system independent mount options @@ -821,8 +834,14 @@ struct fuse_context { * `struct fuse_operations.init` handler. * @return the created FUSE handle */ +#if FUSE_USE_VERSION == 30 +#define fuse_new(args, op, size, data) fuse_new_30(args, op, size, data) +#else struct fuse *fuse_new(struct fuse_args *args, const struct fuse_operations *op, size_t op_size, void *private_data); +#endif +struct fuse *fuse_new_30(struct fuse_args *args, const struct fuse_operations *op, + size_t op_size, void *private_data); /** * Mount a FUSE file system. |