summaryrefslogtreecommitdiff
path: root/include/user
diff options
context:
space:
mode:
Diffstat (limited to 'include/user')
-rw-r--r--include/user/vshbridge.h22
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);