summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorReiko Asakura2020-09-01 18:56:29 -0400
committerReiko Asakura2020-09-01 18:56:29 -0400
commit996416fed721b6e13b2fdabbc9c9fb0c0383e829 (patch)
tree756bba978d676654b86d1a07fdd5cc82ddc22d35 /include
parentAdd scePafCes functions (diff)
downloadvds-libraries-996416fed721b6e13b2fdabbc9c9fb0c0383e829.tar.gz
Add SceRegMgrForSDK function prototypes
Diffstat (limited to 'include')
-rw-r--r--include/user/registrymgr.h65
1 files changed, 64 insertions, 1 deletions
diff --git a/include/user/registrymgr.h b/include/user/registrymgr.h
index dbf4946..a85a56b 100644
--- a/include/user/registrymgr.h
+++ b/include/user/registrymgr.h
@@ -131,7 +131,6 @@ int sceRegMgrSystemParamGetInt(const int id, int* buf);
*/
int sceRegMgrSystemParamGetStr(const int id, char* buf, const int size);
-
/**
* Get the registry version
*
@@ -142,6 +141,70 @@ int sceRegMgrSystemParamGetStr(const int id, char* buf, const int size);
*/
int sceRegMgrGetRegVersion(int version, char* buf);
+/**
+ * Get binary registry key by id
+ *
+ * @param id - The id of the key
+ * @param buf[out] - Pointer to a buffer
+ * @param size - The size of the buffer
+ *
+ * @return 0 on success, < 0 on error
+ */
+SceInt32 sceRegMgrUtilityGetBin(SceUInt32 id, void *buf, SceSize size);
+
+/**
+ * Get integer registry key by id
+ *
+ * @param id - The id of the key
+ * @param buf[out] - Pointer to a buffer
+ *
+ * @return 0 on success, < 0 on error
+ */
+SceInt32 sceRegMgrUtilityGetInt(SceUInt32 id, SceInt32 *buf);
+
+/**
+ * Get char array registry key by id
+ *
+ * @param id - The id of the key
+ * @param buf[out] - Pointer to a buffer
+ * @param size - The size of the buffer
+ *
+ * @return 0 on success, < 0 on error
+ */
+SceInt32 sceRegMgrUtilityGetStr(SceUInt32 id, char *buf, SceSize size);
+
+/**
+ * Set binary registry key by id
+ *
+ * @param id - The id of the key
+ * @param buf - Pointer to a buffer
+ * @param size - The size of the buffer
+ *
+ * @return 0 on success, < 0 on error
+ */
+SceInt32 sceRegMgrUtilitySetBin(SceUInt32 id, const void *buf, SceSize size);
+
+
+/**
+ * Set integer registry key by id
+ *
+ * @param id - The id of the key
+ * @param val - Value to set
+ *
+ * @return 0 on success, < 0 on error
+ */
+SceInt32 sceRegMgrUtilitySetInt(SceUInt32 id, SceInt32 val);
+
+/**
+ * Set char array registry key by id
+ *
+ * @param id - The id of the key
+ * @param buf - Pointer to a buffer
+ * @param size - The size of the buffer
+ *
+ * @return 0 on success, < 0 on error
+ */
+SceInt32 sceRegMgrUtilitySetStr(SceUInt32 id, const char *buf, SceSize size);
#ifdef __cplusplus
}