blob: 5c98e6608604e3fda988515bf3af39845ab42c37 (
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
25
26
27
28
29
30
|
#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, size is 512 byte
*
* @return 0 on success, < 0 on error.
*/
int sceIdStorageReadLeaf(SceSize leafnum, void *buf);
/**
* @param[in] leafnum - 0x0 ~ 0x80 / leafnum > 0x80 = error
* @param[in] buf - Leaf data, size is 512 byte
*
* @return 0 on success, < 0 on error.
*/
int sceIdStorageWriteLeaf(SceSize leafnum, const void *buf);
#ifdef __cplusplus
}
#endif
#endif /* _PSP2_KERNEL_IDSTORAGE_H_ */
|