aboutsummaryrefslogtreecommitdiffstats
path: root/example/passthrough_fh.c
AgeCommit message (Collapse)AuthorLines
2023-01-28Install a the configure_file (config.h) and use in headersBernd Schubert-4/+0
This addresses: https://github.com/libfuse/libfuse/issues/724 HAVE_LIBC_VERSIONED_SYMBOLS configures the library if to use versioned symbols and is set at meson configuration time. External filesystems (the main target, actually) include fuse headers and the preprocessor then acts on HAVE_LIBC_VERSIONED_SYMBOLS. Problem was now that 'config.h' was not distributed with libfuse and so HAVE_LIBC_VERSIONED_SYMBOLS was never defined with external tools and the preprocessor did the wrong decision. This commit also increases the the minimal meson version, as this depends on meson feature only available in 0.50 <quote 'meson' > WARNING: Project specifies a minimum meson_ version '>= 0.42' but uses features which were added in newer versions: * 0.50.0: {'install arg in configure_file'} </quote> Additionally the config file has been renamed to "fuse_config.h" to avoid clashes - 'config.h' is not very specific.
2020-03-13State GPL version in comment (#485)Dr. David Alan Gilbert-1/+1
IN a bunch of comments we say 'under the terms of the GNU GPL', make it clear this is GPLv2 (as LICENSE says). Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2020-01-30examples: mark ops variables constant (#496)zsugabubus-1/+1
2019-11-03Implement lseek operation (#457)Yuri Per-0/+13
2018-11-19examples: add copy_file_range() support to passthrough(_fh)Niels de Vos-0/+23
The passthrough example filesystem can be used for validating the API and the implementation in the FUSE kernel module.
2017-08-22Make passthrough_fh work under FreeBSD.Nikolaus Rath-0/+13
2017-07-08Added public fuse_lib_help(), bumped minor versionNikolaus Rath-1/+1
2017-04-07passthrough, passthrough_fh: disable attribute cachingNikolaus Rath-0/+12
Required for better hardlink handling, see comments in patch.
2016-10-28Clean-up doxygen documentationNikolaus Rath-4/+3
Fixes: #81.
2016-10-20Turn fuse_operations.nopath_flag into fuse_config.nullpath_okNikolaus Rath-0/+1
Modifying struct fuse_config in the init() handler is the canonical way to adjust file-system implementation specific settings. There is no need to have flags in struct fuse_operations.
2016-10-20fuse_new(): don't accept options that don't make sense for end-usersNikolaus Rath-0/+9
Several options (use_ino, etc) depend on the file system implementation. Allowing them to be set from the command line makes no sense.
2016-10-15Pass fuse_file_info to getattr, chown, chmod, truncate, utimens handlersNikolaus Rath-35/+28
This obsoletes the ftruncate & fgetattr handlers. Fixes #58.
2016-10-09Renamed some examples to make their function more obviousNikolaus Rath-0/+602
Also, added more comments for the same purpose.