diff options
author | Rémy F | 2018-12-15 12:43:28 +0100 |
---|---|---|
committer | GitHub | 2018-12-15 12:43:28 +0100 |
commit | 053d4d3f19b60dc0c1c0f6bd803747f8c64f855d (patch) | |
tree | a75afa26918e349d4b1fe46ce6c598b32d348d46 /include/kernel/idstorage.h | |
parent | Add of some SceModulemgrForKernel (#369) (diff) | |
parent | Update sysmem.h (diff) | |
download | vds-libraries-053d4d3f19b60dc0c1c0f6bd803747f8c64f855d.tar.gz |
Merge pull request #372 from Princess-of-Sleeping/master
update vita-headers
Diffstat (limited to '')
-rw-r--r-- | include/kernel/idstorage.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/kernel/idstorage.h b/include/kernel/idstorage.h new file mode 100644 index 0000000..3f65799 --- /dev/null +++ b/include/kernel/idstorage.h @@ -0,0 +1,24 @@ +#ifndef _PSP2_KERNEL_IDSTORAGE_H_ +#define _PSP2_KERNEL_IDSTORAGE_H_ + +#include <psp2kern/types.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * @param[in] leafnum - 0x0 ~ 0x80 / leafnum > 0x80 = error + * @param[out] buf - Leaf data + * @param[in] buf_size - set 0x200 / buf_size != 0x200 = 0x800F090D + * + * @return 0 on success, < 0 on error. + */ +int sceIdStorageReadLeaf(int leafnum, void *buf, int buf_size); +int sceIdStorageWriteLeaf(int leafnum, const void *buf, int buf_size); + +#ifdef __cplusplus +} +#endif + +#endif /* _PSP2_KERNEL_IDSTORAGE_H_ */ |