aboutsummaryrefslogtreecommitdiffstats
path: root/example/fusexmp_fh.c
AgeCommit message (Collapse)AuthorLines
2016-10-09Renamed some examples to make their function more obviousNikolaus Rath-598/+0
Also, added more comments for the same purpose.
2016-10-02Fixed permissions of source files.Nikolaus Rath-0/+0
2014-07-15libfuse: add flags to ->rename()Miklos Szeredi-1/+5
See renameat2() system call in linux-3.15 and later kernels.
2014-03-05libfuse: implement readdirplus for high-level APIEric Wong-6/+19
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.
2013-07-25ulockmgr: strip ulockmgr support from this source packageMiklos Szeredi-0/+8
Distribute ulockmgr separately. It is not needed for the building of libfuse, only fusexmp_fh. Check ulockmgr library in ./configure and if not disable remote-lock suport in fusexmp_fh.
2013-07-25libfuse: fuse -> fuse3Miklos Szeredi-1/+1
Allow 2.X and 3.X to coexist. Includes are now stored under /usr/include/fuse3 and library is named libfuse3.*. Invoke pkg-config with "fuse3" as the first argument to build with version 3 of the library.
2013-06-20- added a doxygen main pageJoachim Schiele-2/+13
- 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-08libfuse: remove deprecated fuse_operations.utime_omit_okMiklos Szeredi-4/+0
2012-07-20Remove compatibility path handlingMiklos Szeredi-1/+0
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-19Start of 3.0 seriesMiklos Szeredi-1/+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/+16
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-05-16Fix the compile command in the examplesMiklos Szeredi-1/+1
Reported by Luciano Dalle Ore
2012-04-10Add 'flag_utime_omit_ok' flag to fuse_operationsMiklos Szeredi-0/+3
If the filesystem sets this flag then ->utimens() will receive UTIME_OMIT and UTIME_NOW values as specified in utimensat(2).
2011-12-08utimens availability checkEmmanuel Dreyfus-0/+5
fusexmp uses utimens and takes that function for granted. It is part of POSIX exended API set 2 and some systems do not have it yet. Attached patch checks for utimens availability and returns ENOSYS if unavailable.
2011-07-06Add ->flock() operation to low and high level interfacesMiklos Szeredi-0/+14
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-07-04utimens must not follow symlinksSebastian Pipping-7/+3
Make xmp_utimens of examples "fusexmp" and "fusexmp_fh" not follow symlinks as other layers do that already.
2010-11-10fusexmp_fh: add read_buf and write_buf implementationsMiklos Szeredi-0/+38
In fusexmp_fh implement the ->read_buf() and ->write_buf() methods. Leave the ->read() and ->write() implementations for reference, even though they are not necessary.
2008-02-08Support receiving file handle from kernel in GETATTR request; Allow ↵Miklos Szeredi-0/+2
operations with a NULL path argument, if the filesystem supports it
2008-02-08fusexmp_fh: avoid unnecessary seeking in readdirMiklos Szeredi-15/+48
2007-12-12change indentingMiklos Szeredi-234/+234
2007-05-17*** empty log message ***Miklos Szeredi-0/+2
2007-04-27merge bugfix branch up to 2.6.4Miklos Szeredi-1/+1
2007-04-25update copyright datesMiklos Szeredi-1/+1
2006-10-01Add init scriptMiklos Szeredi-0/+4
2006-09-30API changesMiklos Szeredi-2/+3
2006-09-16fixMiklos Szeredi-2/+2
2006-09-10ulockmgrMiklos Szeredi-0/+10
2006-09-02fixMiklos Szeredi-3/+10
2006-03-17fixMiklos Szeredi-1/+1
2006-02-21fixMiklos Szeredi-0/+18
2006-01-06fixMiklos Szeredi-1/+1
2005-11-16merge FreeBSD stuffMiklos Szeredi-28/+35
2005-11-11fixMiklos Szeredi-2/+7
2005-11-07fix up statfs interfaceMiklos Szeredi-3/+2
2005-10-28fixMiklos Szeredi-0/+15
2005-10-26add ftruncate() methodMiklos Szeredi-0/+15
2005-10-26atomic open+create addedMiklos Szeredi-0/+12
2005-10-26add access operationMiklos Szeredi-0/+12
2005-09-13fixMiklos Szeredi-0/+1
2005-09-08more revertingMiklos Szeredi-38/+0
2005-08-25fixMiklos Szeredi-0/+15
2005-08-23fixMiklos Szeredi-0/+23
2005-08-11fixMiklos Szeredi-8/+5
2005-04-07fixMiklos Szeredi-0/+355