diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-02 11:30:43 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-02 13:56:40 -0700 |
commit | 5698ee09cf7a8495da70659ffae1eaec9f57db27 (patch) | |
tree | 798a58a4f49d7f82e3f948463daad4405173483e /lib/fuse_versionscript | |
parent | f164e9b8ca319dd1279384ff495b5fa91e778d9e (diff) |
Turn struct fuse_chan into an implementation detail
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.
Diffstat (limited to 'lib/fuse_versionscript')
-rw-r--r-- | lib/fuse_versionscript | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/fuse_versionscript b/lib/fuse_versionscript index eacd37a..ee9c9d7 100644 --- a/lib/fuse_versionscript +++ b/lib/fuse_versionscript @@ -4,8 +4,6 @@ FUSE_3.0 { fuse_exit; fuse_loop; fuse_loop_mt; - fuse_chan_destroy; - fuse_chan_fd; fuse_reply_attr; fuse_reply_buf; fuse_reply_entry; @@ -15,13 +13,11 @@ FUSE_3.0 { fuse_reply_write; fuse_reply_xattr; fuse_req_userdata; - fuse_session_add_chan; fuse_session_destroy; fuse_session_exit; fuse_session_exited; fuse_session_loop; fuse_session_loop_mt; - fuse_session_chan; fuse_session_reset; fuse_opt_parse; fuse_opt_add_opt; @@ -48,7 +44,6 @@ FUSE_3.0 { fuse_reply_lock; fuse_req_interrupt_func; fuse_req_interrupted; - fuse_session_remove_chan; fuse_unmount; fuse_session_unmount; fuse_fs_access; |