aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse_lowlevel.c
diff options
context:
space:
mode:
authory <tofik.sonono@intel.com>2022-11-14 11:55:39 +0100
committerNikolaus Rath <Nikolaus@rath.org>2022-11-15 11:25:49 +0000
commit777663953382925c7403f0560c28ec9bbd14d7be (patch)
tree260177c7501d14342b0e1b0b2553a5247c07c750 /lib/fuse_lowlevel.c
parentb1290d4c091a5c590e61a6195e625eab33300673 (diff)
downloadlibfuse-777663953382925c7403f0560c28ec9bbd14d7be.tar.gz
libfuse custom communication interface
libfuse can now be used without having a mount interface.
Diffstat (limited to 'lib/fuse_lowlevel.c')
-rw-r--r--lib/fuse_lowlevel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
index e82cd9e..b6ffbd9 100644
--- a/lib/fuse_lowlevel.c
+++ b/lib/fuse_lowlevel.c
@@ -3009,6 +3009,10 @@ out1:
return NULL;
}
+void fuse_custom_session_fd(struct fuse_session *se, int fd) {
+ se->fd = fd;
+}
+
int fuse_session_mount(struct fuse_session *se, const char *mountpoint)
{
int fd;