summaryrefslogtreecommitdiff
path: root/document-portal/xdp-fuse.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2015-07-10 17:02:38 +0200
committerAlexander Larsson <alexl@redhat.com>2015-07-10 17:02:38 +0200
commit4c4c66fc2d5da54ebb3580da87c37795ffc79253 (patch)
treef401bfc4d26dc82dfbbd7d267b1b70189af90ec2 /document-portal/xdp-fuse.c
parent929071ad1083494f717f6a5ab6dfcf817d143700 (diff)
downloadxdg-app-4c4c66fc2d5da54ebb3580da87c37795ffc79253.tar.gz
Add GetMountPoint method for document portal
This is both to get the mount path and to have a nice way to activate the mount.
Diffstat (limited to 'document-portal/xdp-fuse.c')
-rw-r--r--document-portal/xdp-fuse.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/document-portal/xdp-fuse.c b/document-portal/xdp-fuse.c
index b6feea6..5d2fd09 100644
--- a/document-portal/xdp-fuse.c
+++ b/document-portal/xdp-fuse.c
@@ -1724,6 +1724,12 @@ static struct fuse_session *session = NULL;
static struct fuse_chan *main_ch = NULL;
static char *mount_path = NULL;
+const char *
+xdp_fuse_get_mountpoint (void)
+{
+ return mount_path;
+}
+
void
xdp_fuse_exit (void)
{