Update header with new function

This commit is contained in:
XorTroll 2019-08-14 15:52:40 +02:00 committed by GitHub
parent bf0df0c369
commit dfa7e4d0e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,10 +25,13 @@ typedef struct
/// Initializes and mounts the sdmc device if accessible. Also initializes current working directory to point to the folder containing the path to the executable (argv[0]), if it is provided by the environment. /// Initializes and mounts the sdmc device if accessible. Also initializes current working directory to point to the folder containing the path to the executable (argv[0]), if it is provided by the environment.
Result fsdevMountSdmc(void); Result fsdevMountSdmc(void);
/// Mounts the input fs with the specified device name. fsdev will handle closing the fs when required, including when fsdevMountDevice() fails. /// Mounts the input fs with the specified device name. fsdev will handle closing the fs when required (this can be avoided by unmounting it with fsdevDeleteDevice), including when fsdevMountDevice() fails.
/// Returns -1 when any errors occur. /// Returns -1 when any errors occur.
int fsdevMountDevice(const char *name, FsFileSystem fs); int fsdevMountDevice(const char *name, FsFileSystem fs);
/// Unmounts the specified device without closing its fs service.
int fsdevDeleteDevice(const char *name);
/// Unmounts the specified device. /// Unmounts the specified device.
int fsdevUnmountDevice(const char *name); int fsdevUnmountDevice(const char *name);