aboutsummaryrefslogtreecommitdiffstats
path: root/example/hello.c
AgeCommit message (Collapse)AuthorLines
2024-03-20Add FUSE_FILL_DIR_DEFAULTS enum (#903)FredyVia-3/+3
In order to use the fuse_fill_dir_t function in a C++ program, add the enum item: FUSE_FILL_DIR_DEFAULTS Without this change g++ compilation failed with example/hello.c:94:35: error: invalid conversion from ‘int’ to ‘fuse_fill_dir_flags’ [-fpermissive] 94 | filler(buf, ".", NULL, 0, 0); | ^ | | | int
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
2018-11-24Don't segfault when called with -h.Nikolaus Rath-1/+1
Fixes: #327
2018-07-23example/{hello,null}: Fix memory leaksRostislav Skudnov-1/+4
2017-09-25Removed unneccessary #include <config.h> from examplesNikolaus Rath-2/+0
Fixes: #208.
2017-07-08Added public fuse_lib_help(), bumped minor versionNikolaus Rath-1/+1
2017-03-28hello.c: don't use constant instead of magic numberguraga-1/+1
2016-10-28Clean-up doxygen documentationNikolaus Rath-19/+5
Fixes: #81.
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-1/+3
This obsoletes the ftruncate & fgetattr handlers. Fixes #58.
2016-10-10fuse_main(): extend support for printing helpNikolaus Rath-10/+66
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-02Fixed permissions of source files.Nikolaus Rath-0/+0
2014-03-05libfuse: implement readdirplus for high-level APIEric Wong-4/+6
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-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-07-24libfuse: remove "-D_FILE_OFFSET_BITS=64" from fuse.pcMiklos Szeredi-0/+2
add AC_SYS_LARGEFILE to your configure.ac instead.
2013-07-17Documentation fixesMiklos Szeredi-2/+0
2013-07-02rewrote c++ style comments to c style coments mentioned by Miklos SzerediJoachim Schiele-1/+1
2013-06-20- added a doxygen main pageJoachim Schiele-2/+29
- 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
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-05-16Fix the compile command in the examplesMiklos Szeredi-1/+1
Reported by Luciano Dalle Ore
2007-12-12change indentingMiklos Szeredi-53/+53
2007-04-25update copyright datesMiklos Szeredi-1/+1
2007-03-30cleanupMiklos Szeredi-8/+6
2006-10-01Add init scriptMiklos Szeredi-0/+4
2006-03-17fixMiklos Szeredi-1/+1
2006-01-06fixMiklos Szeredi-1/+1
2005-04-07fixMiklos Szeredi-5/+9
2005-02-02whitespace fixesMiklos Szeredi-1/+1
2005-01-10update copyright yearMiklos Szeredi-1/+1
2004-11-26API changeMiklos Szeredi-3/+5
2004-11-08fixMiklos Szeredi-1/+1
2004-11-08getdir related API changeMiklos Szeredi-4/+4
2004-10-21cleanups + step minor versionMiklos Szeredi-2/+1
2004-07-29add fuse_invalidate() to library APIMiklos Szeredi-1/+9
2004-07-07change email addressMiklos Szeredi-1/+1
2004-01-13code cleanupMiklos Szeredi-20/+4
2003-12-12added fsync operationMiklos Szeredi-1/+2
2002-12-10added release() callbackMiklos Szeredi-0/+1
2002-01-11minor fixesMiklos Szeredi-0/+1
2002-01-07Added statfs support to kernel, lib, examples, and perlMark Glines-0/+1
other minor perl fixes (still unstable)
2001-12-21minor fixesMiklos Szeredi-7/+8
2001-11-21writing modules made more easyMiklos Szeredi-0/+92