aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse.h
AgeCommit message (Collapse)AuthorLines
2016-10-13Make -o clone_fd into a parameter of session_loop_mt().Nikolaus Rath-1/+3
This option really affects the behavior of the session loop, not the low-level interface. Therefore, it does not belong in the fuse_session object.
2016-10-10fuse_main(): extend support for printing helpNikolaus Rath-1/+18
There's now a way to inhibit the "usage" line (which actually got lost in commit 225c12aebf2d), which makes it easier for simply file-systems to generate good-looking --help output.
2016-10-02Edited comments for clarity.Nikolaus Rath-8/+6
2016-10-02Turn struct fuse_chan into an implementation detailNikolaus Rath-27/+16
The only struct fuse_chan that's accessible to the user application is the "master" channel that is returned by fuse_mount and stored in struct fuse_session. When using the multi-threaded main loop with the "clone_fd" option, each worker thread gets its own struct fuse_chan. However, none of these are available to the user application, nor do they hold references to struct fuse_session (the pointer is always null). Therefore, any presence of struct fuse_chan can be removed without loss of functionality by relying on struct fuse_session instead. This reduces the number of API functions and removes a potential source of confusion (since the new API no longer looks as if it might be possible to add multiple channels to one session, or to share one channel between multiple sessions). Fixes issue #17.
2016-10-02Introduce separate mount/umount functions for low-level API.Nikolaus Rath-0/+26
2016-10-01Improve documentation of argument parsing.Nikolaus Rath-0/+7
2016-09-27Documentation improvements.Nikolaus Rath-1/+4
2016-04-23Remove leading _ on header guards to comply with reserved identifier ↵Sam Stuewe-3/+3
requirements (#29) Remove leading _ on header guards to comply with reserved identifier requirements
2016-04-02Fix spelling mistakeEric Engestrom-1/+1
2016-03-09fuse.h doc fix: The f_frsize field is not ignored by the statfs operation.Jan Blumschein-1/+1
Apparently f_frsize has been passed on transparently since 2b4781100812d42e704c39c51303cd28ad3f9aa6 (Nov 28, 2005).
2014-07-21libfuse: highlevel API: fix directory file handle passed to ioctl() methodMiklos Szeredi-0/+3
Reported by Eric Biggers
2014-07-15libfuse: add flags to ->rename()Miklos Szeredi-2/+2
See renameat2() system call in linux-3.15 and later kernels.
2014-03-05libfuse: implement readdirplus for high-level APIEric Wong-3/+34
Reuse the old "readdir" callback, but add a flags argument, that has FUSE_READDIR_PLUS in case this is a "plus" version. Filesystems can safely ignore this flag, but if they want they can add optimizations based on it: i.e. only retrieve the full attributes in PLUS mode. The filler function is also given a flags argument and the filesystem can set FUSE_FILL_DIR_PLUS if all the attributes in "stat" are valid.
2014-02-04fuse: use dlsym() instead of relying on ld.so constructor functionsFabrice Bauzac-50/+19
2013-07-17Documentation fixesMiklos Szeredi-21/+18
2013-06-20- added a doxygen main pageJoachim Schiele-0/+23
- modified all examples to be included in doxygen - modified the API documentation to have more details - added the 490px_FUSE_structure.svg.png (c) wikipedia
2013-02-08remove <utime.h> include from <fuse.h>Miklos Szeredi-1/+0
2013-02-08libfuse: remove struct fuse_cmdMiklos Szeredi-3/+0
2013-02-08libfuse: remove deprecated fuse_operations.utime_omit_okMiklos Szeredi-7/+1
2013-02-08libfuse: remove deprecated fuse_operations.utime()Miklos Szeredi-6/+0
2013-02-08libfuse: remove deprecated fuse_operations.getdir()Miklos Szeredi-13/+1
2013-02-08libfuse: remove deprecated fuse_exited()Miklos Szeredi-12/+0
2013-02-08libfuse: remove deprecated fuse_setup(), fuse_teardown()Miklos Szeredi-9/+0
2013-02-08libfuse: remove deprecated fuse_read_cmd(), fuse_process_cmd()Miklos Szeredi-9/+0
2013-02-08libfuse: remove deprecated fuse_loop_mt_proc()Miklos Szeredi-4/+0
2013-02-08libfuse: remove deprecated fuse_set_getcontext_func()Miklos Szeredi-3/+0
2013-02-08libfuse: remove deprecated fuse_invalidate()Miklos Szeredi-7/+0
2013-02-08libfuse: remove deprecated fuse_is_lib_option()Miklos Szeredi-3/+0
2012-07-20Move flags to the front of struct fuse_operationsMiklos Szeredi-24/+24
2012-07-20Remove compatibility path handlingMiklos Szeredi-17/+4
This means that now NULL is a valid path for operations that take a file descriptor if the file was unlinked and hard_remove option is specified.
2012-07-19Remove compat functionsMiklos Szeredi-47/+0
2012-07-19Start of 3.0 seriesMiklos Szeredi-8/+1
Change the version numbers. This is going to be a new major version of the library breaking backward compatibility on the binary level as well as the source level.
2012-06-18Add FALLOCATE operationAnatol Pomozov-0/+15
fallocate filesystem operation preallocates media space for the given file. If fallocate returns success then any subsequent write to the given range never fails with 'not enough space' error.
2012-04-10Add 'flag_utime_omit_ok' flag to fuse_operationsMiklos Szeredi-1/+7
If the filesystem sets this flag then ->utimens() will receive UTIME_OMIT and UTIME_NOW values as specified in utimensat(2).
2011-07-06Add ->flock() operation to low and high level interfacesMiklos Szeredi-0/+23
This fixes problems with emulating flock() with POSIX locking. Reported by Sebastian Pipping. As with lock/setlk/getlk most filesystems don't need to implement this, as the kernel takes care of file locking. The only reason to implement locking operations is for network filesystems which want file locking to work between clients.
2011-06-02add "remember" optiontherealneworld@gmail.com-0/+28
This works similar to "noforget" except that eventually the node will be allowed to expire from the cache.
2011-05-25adding details to utimens doxygen commentsReuben Hawkins-0/+5
modified: include/fuse.h
2011-05-25Spell checking comments, etc...Reuben Hawkins-1/+1
...with the help of vim :set spell modified: FAQ modified: include/fuse.h modified: include/fuse_common.h modified: include/fuse_opt.h modified: lib/fuse_kern_chan.c modified: util/fusermount.c
2010-11-10add read_buf method to high level APIMiklos Szeredi-0/+22
Add a new read_buf() method to the highlevel API. This allows returning a generic buffer from the read method, which in turn allows zero copy reads.
2010-11-10add write_buf method to high level APIMiklos Szeredi-0/+14
Add new write_buf() method to the highlevel API. Similarly to the lowlevel write_buf() method, this allows implementing zero copy writes.
2010-06-15* Add a nopath option and flag, indicating that path argumentMiklos Szeredi-4/+21
need not be calculated for the following operations: read, write, flush, release, fsync, readdir, releasedir, fsyncdir, ftruncate, fgetattr, lock, ioctl and poll.
2009-07-02* The context is extended with a 'umask' field. The umask is sentMiklos Szeredi-0/+3
for mknod, mkdir and create requests by linux kernel version 2.6.31 or later, otherwise the umask is set to zero. Also introduce a new feature flag: FUSE_CAP_DONT_MASK. If the kernel supports this feature, then this flag will be set in conn->capable in the ->init() method. If the filesystem sets this flag in in conn->want, then the create modes will not be masked. * Add low level interfaces for lookup cache and attribute invalidation. This feature is available in linux kernels 2.6.31 or later. Patch by John Muir * Kernel interface version is now 7.12
2009-06-19Add fuse_getgroups (high level lib) and fuse_req_getgroups (lowMiklos Szeredi-0/+20
level lib) functions to query the supplementary group IDs for the current request. Currently this is implemented on Linux by reading from the /proc filesystem.
2009-02-06documentation updateMiklos Szeredi-13/+15
2008-12-08* Implement poll support. Patch by Tejun HeoMiklos Szeredi-1/+25
2008-12-05* Implement ioctl support. On high level interface onlyMiklos Szeredi-0/+19
"restricted" ioctls are supported (which are defined with the _IO(), _IOR(), _IOW() or _IOWR() macros). Unrestricted ioctls will only be allwed to CUSE (Character Device in Userspace) servers. Patch by Tejun Heo
2008-10-14Pass current file flags to read and write operationsMiklos Szeredi-0/+3
2008-08-21API documentation update by Daniel BenamyMiklos Szeredi-0/+5
2008-07-18doc updates from Nikolaus RathMiklos Szeredi-7/+18
2008-07-09API doc update by Nikolaus RathMiklos Szeredi-1/+2