PSPSDK 2024-10-31
Loading...
Searching...
No Matches
pspidstorage.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
3 * -----------------------------------------------------------------------
4 * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5 *
6 * pspidstorage.h - Interface to sceIdstorage_driver.
7 *
8 * Copyright (c) 2006 Harley G. <harleyg@0x89.org>
9 *
10 */
11
12#ifndef PSPIDSTORAGE_H
13#define PSPIDSTORAGE_H
14
15#include <psptypes.h>
16
20#ifdef __cplusplus
21extern "C" {
22#endif
23
33int sceIdStorageLookup(u16 key, u32 offset, void *buf, u32 len);
34
39int sceIdStorageReadLeaf(u16 key, void *buf);
40
45int sceIdStorageWriteLeaf(u16 key, void *buf);
46
49
52
55#ifdef __cplusplus
56}
57#endif
58
59#endif
int sceIdStorageFlush(void)
sceIdStorageFlush() - Finalizes a write
int sceIdStorageIsReadOnly(void)
sceIdStorageIsReadOnly() - Checks idstorage for readonly status
int sceIdStorageReadLeaf(u16 key, void *buf)
Retrieves the whole 512 byte container for the key.
int sceIdStorageLookup(u16 key, u32 offset, void *buf, u32 len)
Retrieves the value associated with a key.
int sceIdStorageWriteLeaf(u16 key, void *buf)
sceIdStorageWriteLeaf() - Writes 512-bytes to idstorage key
uint16_t u16
Definition psptypes.h:39
float x
Definition psptypes.h:0
uint32_t u32
Definition psptypes.h:41