diff options
Diffstat (limited to 'mount.h')
-rw-r--r-- | mount.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -23,10 +23,27 @@ #ifndef INCLUDED_MOUNT_H #define INCLUDED_MOUNT_H +#include <error.h> #include <unistd.h> +#include <hurd/hurd_types.h> + +#include "node.h" /* The command line for starting the mountee. */ extern char * mountee_argz; extern size_t mountee_argz_len; +extern mach_port_t mountee_root; + +extern int mountee_started; + +/* Starts the mountee (given by `argz` and `argz_len`), attaches it to + the node `np` and opens a port `port` to the mountee. */ +error_t +start_mountee (node_t * np, char * argz, size_t argz_len, mach_port_t * port); + +/* Sets up a proxy node and sets the translator on it. */ +error_t +setup_unionmount (void); + #endif /* not INCLUDED_MOUNT_H */ |