From 98966f020f72de0e817b4dae190e89870f3462c3 Mon Sep 17 00:00:00 2001 From: shinyquagsire23 Date: Fri, 26 Aug 2016 16:23:33 -0700 Subject: [PATCH] Add FSBindMount and FSBindUnmount --- include/coreinit/filesystem.h | 13 +++++++++++++ rpl/libcoreinit/exports.h | 2 ++ 2 files changed, 15 insertions(+) diff --git a/include/coreinit/filesystem.h b/include/coreinit/filesystem.h index 1902357..363bf11 100644 --- a/include/coreinit/filesystem.h +++ b/include/coreinit/filesystem.h @@ -601,6 +601,19 @@ FSUnmount(FSClient *client, const char *target, uint32_t flags); +FSStatus +FSBindMount(FSClient *client, + FSCmdBlock *cmd, + const char *source, + const char *target, + uint32_t flags); + +FSStatus +FSbindUnmount(FSClient *client, + FSCmdBlock *cmd, + const char *target, + uint32_t flags); + #ifdef __cplusplus } #endif diff --git a/rpl/libcoreinit/exports.h b/rpl/libcoreinit/exports.h index a8f23a8..61417f1 100644 --- a/rpl/libcoreinit/exports.h +++ b/rpl/libcoreinit/exports.h @@ -184,6 +184,8 @@ EXPORT(FSGetLastErrorCodeForViewer); EXPORT(FSGetMountSource); EXPORT(FSMount); EXPORT(FSUnmount); +EXPORT(FSBindMount); +EXPORT(FSBindUnmount); // coreinit/foreground.h EXPORT(OSEnableForegroundExit);