summaryrefslogtreecommitdiff
path: root/lib/librefuse/refuse.3
diff options
context:
space:
mode:
authorpho <pho@NetBSD.org>2016-11-15 00:34:19 +0000
committerpho <pho@NetBSD.org>2016-11-15 00:34:19 +0000
commitb82ea2be30bbad88ea6f9eb7296bb31287fb5073 (patch)
tree42f265a661ca3535f76a73cc444dabaf8380f859 /lib/librefuse/refuse.3
parent5e5c612a8428d849ebb754daf6b43ec6b5a96758 (diff)
fuse_opt_match(3): Support every form of templates, not just the simple strcmp case
Also it should return 1 for successful matches, not the way around.
Diffstat (limited to 'lib/librefuse/refuse.3')
-rw-r--r--lib/librefuse/refuse.36
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/librefuse/refuse.3 b/lib/librefuse/refuse.3
index b6f4319f4ab..f4d548ff0bc 100644
--- a/lib/librefuse/refuse.3
+++ b/lib/librefuse/refuse.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: refuse.3,v 1.11 2016/11/14 17:48:57 pho Exp $
+.\" $NetBSD: refuse.3,v 1.12 2016/11/15 00:34:19 pho Exp $
.\"
.\" Copyright © 2007 Alistair Crooks. All rights reserved.
.\"
@@ -74,6 +74,10 @@
.Fa "struct fuse_args *args" "int pos" "const char *arg"
.Fc
.Ft int
+.Fo fuse_opt_match
+.Fa "const struct fuse_opt *opts" "const char *opt"
+.Fc
+.Ft int
.Fo fuse_opt_parse
.Fa "struct fuse_args *args" "void *userdata"
.Fa "const struct fuse_opt *descriptions" "fuse_opt_proc_t processingfunc"