In xsetting_CC56EB2D_class_t found in the VSH export, these have 3-4 parameters
https://github.com/aldostools/webMAN-MOD/blob/master/vsh/xregistry.h#L493-L496
It looks like there 2 kind of returned values: int32_t and char*
In xsetting_D0261D72_class_t, there are only 2-3 parameters
https://github.com/aldostools/webMAN-MOD/blob/master/vsh/xregistry.h#L613-L496
The class xsetting_CC56EB2D is per user, while the class xsetting_D0261D72 is global.
In webMAN MOD, there is a legacy code for get/set value implemented without VSH exports.
https://github.com/aldostools/webMAN-MOD/blob/master/include/language.h#L256-L327
However, the web command /xmb.ps3$xregistry(<id>) uses the VSH exports mentioned above.
https://github.com/aldostools/webMAN-MOD/blob/master/vsh/xregistry.h#L493-L496
Code:
int32_t (*GetRegistryValue)(uint32_t userid, uint32_t packetid, int *value);
int32_t (*GetRegistryString)(uint32_t userid, uint32_t packetid, char * value, uint32_t maxlen);
int32_t (*SetRegistryValue)(uint32_t userid, uint32_t packetid, int value);
int32_t (*SetRegistryString)(uint32_t userid, uint32_t packetid, char *value, uint32_t maxlen);
It looks like there 2 kind of returned values: int32_t and char*
In xsetting_D0261D72_class_t, there are only 2-3 parameters
https://github.com/aldostools/webMAN-MOD/blob/master/vsh/xregistry.h#L613-L496
Code:
uint32_t (*saveRegistryIntValue)(int32_t, int32_t); // id, value
uint32_t (*loadRegistryIntValue)(int32_t, int32_t*); // id, value
uint32_t (*saveRegistryStringValue)(int32_t, char *, int32_t); // id, string, len
uint32_t (*loadRegistryStringValue)(int32_t, char *, int32_t); // id, string, len
The class xsetting_CC56EB2D is per user, while the class xsetting_D0261D72 is global.
In webMAN MOD, there is a legacy code for get/set value implemented without VSH exports.
https://github.com/aldostools/webMAN-MOD/blob/master/include/language.h#L256-L327
However, the web command /xmb.ps3$xregistry(<id>) uses the VSH exports mentioned above.