PSPSDK 2024-10-31
Loading...
Searching...
No Matches
Interface to the sceIdStorage_driver library.

Functions

int sceIdStorageLookup (u16 key, u32 offset, void *buf, u32 len)
 Retrieves the value associated with a key.
 
int sceIdStorageReadLeaf (u16 key, void *buf)
 Retrieves the whole 512 byte container for the key.
 
int sceIdStorageWriteLeaf (u16 key, void *buf)
 sceIdStorageWriteLeaf() - Writes 512-bytes to idstorage key
 
int sceIdStorageIsReadOnly (void)
 sceIdStorageIsReadOnly() - Checks idstorage for readonly status
 
int sceIdStorageFlush (void)
 sceIdStorageFlush() - Finalizes a write
 

Detailed Description

Function Documentation

◆ sceIdStorageFlush()

int sceIdStorageFlush ( void  )

sceIdStorageFlush() - Finalizes a write

◆ sceIdStorageIsReadOnly()

int sceIdStorageIsReadOnly ( void  )

sceIdStorageIsReadOnly() - Checks idstorage for readonly status

◆ sceIdStorageLookup()

int sceIdStorageLookup ( u16  key,
u32  offset,
void buf,
u32  len 
)

Retrieves the value associated with a key.

Parameters
key- idstorage key
offset- offset within the 512 byte leaf
buf- buffer with enough storage
len- amount of data to retrieve (offset + len must be <= 512 bytes)

◆ sceIdStorageReadLeaf()

int sceIdStorageReadLeaf ( u16  key,
void buf 
)

Retrieves the whole 512 byte container for the key.

Parameters
key- idstorage key
buf- buffer with at last 512 bytes of storage

◆ sceIdStorageWriteLeaf()

int sceIdStorageWriteLeaf ( u16  key,
void buf 
)

sceIdStorageWriteLeaf() - Writes 512-bytes to idstorage key

Parameters
key- idstorage key
buf- buffer with 512-btes of data