Home | History | Annotate | Download | only in librefuse
History log of /src/lib/librefuse/fuse_opt.h
RevisionDateAuthorComments
 1.10  22-Jan-2022  pho Cosmetic changes
 1.9  01-Dec-2021  pho Revert my previous change to struct fuse_opt

I should have thought twice before commiting it. Of course changing
the layout of a struct breaks ABI compatibility. Change the offset
back to fixed 32 bits.
 1.8  01-Dec-2021  pho Use correct types for the fields of struct fuse_opt

This change shouldn't make any behavioral differences in reality, but
compilers these days dislike converting -1U to int32_t implicitly,
which is indeed understandable.
 1.7  14-Nov-2016  pho Implement missing fuse_opt_add_opt(3) and fuse_opt_add_opt_escaped(3)
 1.6  22-Jan-2016  dholland branches: 1.6.2;
Needs stdint.h.
 1.5  19-Apr-2009  christos PR/41250: David H. Gutteridge: librefuse fuse_opt.h header doesn't accommodate
C++ compilation
 1.4  17-May-2007  christos branches: 1.4.18; 1.4.20;
More fixes:
- make sure that the args array is NULL terminated.
- make sure argc is initialized and argv is set to NULL after freeing.
- make the deep copy function an opt interface function.
 1.3  03-May-2007  agc FUSE includes fuse_opt.h from fuse.h, albeit indirectly, via fuse_common.h.

Refuse doessn't have a fuse_common.h, so include fuse_opt.h explicitly
from fuse.h. To avoid circular dependencies, don't include fuse.h
from fuse_opt.h.

This means that we no longer have to modify packages which use the argument
and option parsing routines to include fuse_opt.h.
 1.2  28-Feb-2007  xtraeme Add missing NetBSD RCS id.
 1.1  28-Feb-2007  xtraeme * Move fuse_opt* defs and prototypes into fuse_opt.h.
* Move fuse_opt* funcs from refuse.c into refuse_opt.c.

Implement fuse_opt_parse() and fuse_opt_match(). And make the other
functions just dummy, always returning 0 (I added debugging printfs
to see what the application is trying to do).

For now there are two things that do not work in fuse_opt:

* options accepting arguments, i.e -otimeout=%u or -ofile=%s.
* options without arguments are not enabled, just parsed.

At least now curlftpfs works, even with verbose mode! :-)

Ok'ed by pooka.
 1.4.20.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.4.18.1  08-Aug-2011  riz Pull up following revision(s) (requested by tron in ticket #1649):
lib/librefuse/fuse_opt.h: revision 1.5
PR/41250: David H. Gutteridge: librefuse fuse_opt.h header doesn't accommod=
ate
C++ compilation
 1.6.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)

RSS XML Feed