vitasdk
Documentation of the vitasdk
registrymgr.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2_REGISTRYMGR_H_
7 #define _PSP2_REGISTRYMGR_H_
8 
9 #include <psp2/types.h>
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
25 int sceRegMgrGetKeyBin(const char *category, const char *name, void *buf, int size);
26 
36 int sceRegMgrGetKeyInt(const char* category, const char* name, int* buf);
37 
48 int sceRegMgrGetKeyStr(const char* category, const char* name, char* buf, const int size);
49 
60 int sceRegMgrSetKeyBin(const char *category, const char *name, void *buf, int size);
61 
71 int sceRegMgrSetKeyInt(const char* category, const char* name, int buf);
72 
83 int sceRegMgrSetKeyStr(const char* category, const char* name, char* buf, const int size);
84 
94 int sceRegMgrGetInitVals(const char* category, char* buf, const int elements_number);
95 
105 int sceRegMgrGetKeys(const char* category, char* buf, const int elements_number);
106 
116 int sceRegMgrSetKeys(const char* category, char* buf, const int elements_number);
117 
126 int sceRegMgrSystemParamGetInt(const int id, int* buf);
127 
137 int sceRegMgrSystemParamGetStr(const int id, char* buf, const int size);
138 
139 
148 int sceRegMgrGetRegVersion(int version, char* buf);
149 
150 
151 #ifdef __cplusplus
152 }
153 #endif
154 
155 #endif /* _PSP2_REGISTRYMGR_H_ */
uint16_t version
Definition: kbl.h:0
SceSize size
struct size(variable size)
Definition: debug.h:0
int sceRegMgrSetKeyInt(const char *category, const char *name, int buf)
Set a key's information by category and name.
int sceRegMgrGetRegVersion(int version, char *buf)
Get the registry version.
int sceRegMgrSetKeyBin(const char *category, const char *name, void *buf, int size)
Set a key's information by category and name.
int sceRegMgrSetKeys(const char *category, char *buf, const int elements_number)
Set all keys' information by category.
int sceRegMgrGetKeys(const char *category, char *buf, const int elements_number)
Get all keys' information by category.
int sceRegMgrGetKeyInt(const char *category, const char *name, int *buf)
Get a key's information by category and name.
int sceRegMgrSystemParamGetStr(const int id, char *buf, const int size)
Get a system param key's information by id.
int sceRegMgrGetKeyBin(const char *category, const char *name, void *buf, int size)
Get a key's information by category and name.
int sceRegMgrSystemParamGetInt(const int id, int *buf)
Get a system param key's information by id.
int sceRegMgrGetInitVals(const char *category, char *buf, const int elements_number)
Get all keys' initial information by category (from os0:kd/registry.db0)
int sceRegMgrGetKeyStr(const char *category, const char *name, char *buf, const int size)
Get a key's information by category and name.
int sceRegMgrSetKeyStr(const char *category, const char *name, char *buf, const int size)
Set a key's information by category and name.