diff options
author | Princess of Sleeping | 2018-05-20 01:06:13 +0900 |
---|---|---|
committer | GitHub | 2018-05-20 01:06:13 +0900 |
commit | 5e4ac517f87c4ab2f3f1dea2de206142da8d0e61 (patch) | |
tree | a00a832e75218f357d8af8b042e2e7ecd14168aa /include/user/vshbridge.h | |
parent | Merge pull request #316 from vitasdk/Rinnegatamante-patch-1 (diff) | |
download | vds-libraries-5e4ac517f87c4ab2f3f1dea2de206142da8d0e61.tar.gz |
Add _vshIoMount and vshIoUmount
Diffstat (limited to 'include/user/vshbridge.h')
-rw-r--r-- | include/user/vshbridge.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/include/user/vshbridge.h b/include/user/vshbridge.h index 46cb4a0..dd8e935 100644 --- a/include/user/vshbridge.h +++ b/include/user/vshbridge.h @@ -11,7 +11,27 @@ extern "C" { int _vshSblGetSystemSwVersion(SceKernelFwInfo * data); int _vshSblAimgrGetConsoleId(char CID[32]); - + +/** + * @param[in] id - mount id + * @param[in] unk1 - Unknown, set 0 + * @param[in] permission - 1/RO 2/RW + * @param[in] buf - work buffer + * + * @return 0 >= on success, < 0 on error. + */ +int _vshIoMount(int id, int unk1, int permission, void* buf); + +/** + * @param[in] id - mount id + * @param[in] unk1 - Unknown, set 0 + * @param[in] unk2 - Unknown, set 0 + * @param[in] unk3 - Unknown, set 0 + * + * @return 0 >= on success, < 0 on error. + */ +int vshIoUmount(int id, int unk1, int unk2, int unk3); + int vshIdStorageIsDirty(void); int vshIdStorageIsFormatted(void); int vshIdStorageIsReadOnly(void); |