From caa093140a5540442f40f65fbf8cf596bb6066a9 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 14 Dec 2005 23:25:00 +0000 Subject: fix --- include/fuse_opt.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/fuse_opt.h') diff --git a/include/fuse_opt.h b/include/fuse_opt.h index 86099cd..8281882 100644 --- a/include/fuse_opt.h +++ b/include/fuse_opt.h @@ -136,9 +136,12 @@ struct fuse_opt { * @param data is the user data passed to the fuse_opt_parse() function * @param arg is the whole argument or option * @param key determines why the processing function was called + * @param argcout pointer to output argument count + * @param argvout pointer to output argument vector * @return -1 on error, 0 if arg is to be discarded, 1 if arg should be kept */ -typedef int (*fuse_opt_proc_t)(void *data, const char *arg, int key); +typedef int (*fuse_opt_proc_t)(void *data, const char *arg, int key, + int *argcout, char **argvout[]); /** * Option parsing function -- cgit v1.2.3