diff options
author | Mark Glines <mark@glines.org> | 2002-04-18 14:41:48 +0000 |
---|---|---|
committer | Mark Glines <mark@glines.org> | 2002-04-18 14:41:48 +0000 |
commit | 65ba219885aefa096437c2bd92ad8394a5ecda75 (patch) | |
tree | a035d3b16cf2d89a7d6da8dd2a02f47e439f75c3 /include/fuse.h | |
parent | f0cd8e4c394b16c496ed08a3448be0b5fdbfa5e5 (diff) | |
download | libfuse-65ba219885aefa096437c2bd92ad8394a5ecda75.tar.gz |
fuse_mount_ioslave() and helper util
Diffstat (limited to 'include/fuse.h')
-rw-r--r-- | include/fuse.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/fuse.h b/include/fuse.h index b75978c..ea28d0d 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -180,6 +180,17 @@ struct fuse_context *fuse_get_context(struct fuse *f); */ void fuse_main(int argc, char *argv[], const struct fuse_operations *op); +/* + * Spawn an I/O slave, creating an fd suitable for passing to fuse_new() + * + * This spawns fusermount, and then a small message tosser process to + * allow access to fuse_new() and fuse_loop() without the limitations + * of reexecuting the main FUSE process and destroying stdin. + * + * @param mountpoint a char pointer to the requested mountpoint + */ +int fuse_mount_ioslave(char *mountpoint); + /* ----------------------------------------------------------- * * Advanced API for event handling, don't worry about this... * * ----------------------------------------------------------- */ |