aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse_lowlevel.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2015-09-29 17:51:32 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2015-09-29 17:51:32 +0200
commit386b1b6e3d0fcf7e2dfd5473e867284410dfa624 (patch)
treed16206c9de6043e78f663b8cfadc835df2981f1e /include/fuse_lowlevel.h
parent4ae8680e40b60d65029f4630c21ab182d3c79e8e (diff)
parenta5a00e9b7dd8c8dfef17523dccb3051e1f1dd5a2 (diff)
downloadlibfuse-386b1b6e3d0fcf7e2dfd5473e867284410dfa624.tar.gz
Merge branch 'clone_fd'
Diffstat (limited to 'include/fuse_lowlevel.h')
-rw-r--r--include/fuse_lowlevel.h12
1 files changed, 10 insertions, 2 deletions
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
}