PSPSDK 2026-01-13
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
 
int sceIdStorageCreateLeaf (unsigned int leafid)
 
int sceIdStorageCreateAtomicLeaves (u16 *leaves, int n)
 
int sceIdStorageFormat ()
 
int sceIdStorageUnformat ()
 

Detailed Description

Function Documentation

◆ sceIdStorageCreateAtomicLeaves()

int sceIdStorageCreateAtomicLeaves ( u16 * leaves,
int n )

◆ sceIdStorageCreateLeaf()

int sceIdStorageCreateLeaf ( unsigned int leafid)

◆ sceIdStorageFlush()

int sceIdStorageFlush ( void )

sceIdStorageFlush() - Finalizes a write

◆ sceIdStorageFormat()

int sceIdStorageFormat ( )

◆ 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

◆ sceIdStorageUnformat()

int sceIdStorageUnformat ( )

◆ 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