aboutsummaryrefslogtreecommitdiffstats
path: root/example/fuse_lo-plus.c
AgeCommit message (Collapse)AuthorLines
2016-10-09Renamed some examples to make their function more obviousNikolaus Rath-508/+0
Also, added more comments for the same purpose.
2016-10-09fuse_parse_cmdline(): do not print help/version textNikolaus Rath-2/+13
The current behavior makes it difficult to add help for additional options. With the change, this becomes a lot easier.
2016-10-08Add background and multithreading support to hello_ll and fuse_lo-plusNikolaus Rath-8/+7
2016-10-02Don't handle --help and --version in fuse_session_new().Nikolaus Rath-26/+25
Help and version messages can be generated using the new fuse_lowlevel_help(), fuse_lowlevel_version(), fuse_mount_help(), and fuse_mount_version() functions. The fuse_parse_cmdline() function has been made more powerful to do this automatically, and is now explicitly intended only for low-level API users. This is a code simplication patch. We don't have to parse for --help and --version in quite as many places, and we no longer have a low-level initialization function be responsible for the (super-high level) task of printing a program usage message. In the high-level API, we can now handle the command line parsing earlier and avoid running other initialization code if we're just going to abort later on.
2016-10-02Turn struct fuse_chan into an implementation detailNikolaus Rath-17/+23
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-02Renamed fuse_lowlevel_new() to fuse_session_new().Nikolaus Rath-1/+1
2016-10-02Introduce separate mount/umount functions for low-level API.Nikolaus Rath-3/+3
2014-03-18compile fix for fuse_lo-plusMiklos Szeredi-0/+42
2014-03-17compile fixMiklos Szeredi-0/+4
2014-02-21libfuse: added fuse_lo-plus.c to the examplesMiklos Szeredi-0/+447