diff --git a/include/coreinit/filesystem.h b/include/coreinit/filesystem.h index 277ad44..1902357 100644 --- a/include/coreinit/filesystem.h +++ b/include/coreinit/filesystem.h @@ -370,6 +370,35 @@ FSCloseDirAsync(FSClient *client, FSDirectoryHandle handle, uint32_t flags, FSAsyncData *asyncData); +FSStatus +FSChangeMode(FSClient *client, + FSCmdBlock *block, + char *path, + FSMode mode, + uint32_t flags); + +FSStatus +FSChangeModeAsync(FSClient *client, + FSCmdBlock *block, + char *path, + FSMode mode, + uint32_t flags, + FSAsyncData *asyncData); + +FSStatus +FSGetFreeSpaceSize(FSClient *client, + FSCmdBlock *block, + char *path, + u64 *outSize, + uint32_t flags); + +FSStatus +FSGetFreeSpaceSizeAsync(FSClient *client, + FSCmdBlock *block, + char *path, + u64 *outSize, + uint32_t flags, + FSAsyncData *asyncData); FSStatus FSGetStatFile(FSClient *client, diff --git a/rpl/libcoreinit/exports.h b/rpl/libcoreinit/exports.h index 3f546ac..a8f23a8 100644 --- a/rpl/libcoreinit/exports.h +++ b/rpl/libcoreinit/exports.h @@ -138,6 +138,10 @@ EXPORT(FSSetStateChangeNotification); EXPORT(FSGetCwd); EXPORT(FSChangeDir); EXPORT(FSChangeDirAsync); +EXPORT(FSChangeMode); +EXPORT(FSChangeModeAsync); +EXPORT(FSGetFreeSpaceSize); +EXPORT(FSGetFreeSpaceSizeAsync); EXPORT(FSGetStat); EXPORT(FSGetStatAsync); EXPORT(FSRemove);