pspsdk-1.0+beta2
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

int sceIdStorageFlush ( void  )

sceIdStorageFlush() - Finalizes a write

int sceIdStorageIsReadOnly ( void  )

sceIdStorageIsReadOnly() - Checks idstorage for readonly status

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)
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
int sceIdStorageWriteLeaf ( u16  key,
void *  buf 
)

sceIdStorageWriteLeaf() - Writes 512-bytes to idstorage key

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