diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2008-10-16 19:11:28 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2008-10-16 19:11:28 +0000 |
commit | 5c094ac0150ebfef6a2c9c2c9d1c545a90ff4e96 (patch) | |
tree | 2d25ba53aac4907c1ca1ff82d46595103bc852f8 /include | |
parent | b7af77dc1dfb5eb91eb408a0aeaf30783b5974ab (diff) | |
download | fuse-5c094ac0150ebfef6a2c9c2c9d1c545a90ff4e96.tar.gz |
* Allow commas in options to be escaped with a backslash * Add new function: fuse_opt_add_opt_escaped() * Add missing fuse_reply_bmap() to the version script
Diffstat (limited to 'include')
-rw-r--r-- | include/fuse_opt.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/fuse_opt.h b/include/fuse_opt.h index 7ae08af..5595b4a 100644 --- a/include/fuse_opt.h +++ b/include/fuse_opt.h @@ -212,6 +212,15 @@ int fuse_opt_parse(struct fuse_args *args, void *data, int fuse_opt_add_opt(char **opts, const char *opt); /** + * Add an option, escaping commas, to a comma separated option list + * + * @param opts is a pointer to an option list, may point to a NULL value + * @param opt is the option to add + * @return -1 on allocation error, 0 on success + */ +int fuse_opt_add_opt_escaped(char **opts, const char *opt); + +/** * Add an argument to a NULL terminated argument vector * * @param args is the structure containing the current argument list |