diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/fuse_kernel.h | 3 | ||||
-rw-r--r-- | include/fuse_lowlevel.h | 12 |
2 files changed, 13 insertions, 2 deletions
diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h index 25084a0..c9aca04 100644 --- a/include/fuse_kernel.h +++ b/include/fuse_kernel.h @@ -755,4 +755,7 @@ struct fuse_notify_retrieve_in { uint64_t dummy4; }; +/* Device ioctls: */ +#define FUSE_DEV_IOC_CLONE _IOR(229, 0, uint32_t) + #endif /* _LINUX_FUSE_H */ diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h index 20e7692..3cc9db5 100644 --- a/include/fuse_lowlevel.h +++ b/include/fuse_lowlevel.h @@ -1705,11 +1705,19 @@ int fuse_session_loop_mt(struct fuse_session *se); int fuse_chan_fd(struct fuse_chan *ch); /** - * Destroy a channel + * Obtain counted reference to the channel + * + * @param ch the channel + * @return the channel + */ +struct fuse_chan *fuse_chan_get(struct fuse_chan *ch); + +/** + * Drop counted reference to a channel * * @param ch the channel */ -void fuse_chan_destroy(struct fuse_chan *ch); +void fuse_chan_put(struct fuse_chan *ch); #ifdef __cplusplus } |