blob: 3f657999271a3a98f3df0d4d45326f5835bd1f73 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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_ */
|