pspsdk-1.0+beta2
pspidstorage.h
Go to the documentation of this file.
1 /*
2  * PSP Software Development Kit - http://www.pspdev.org
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  * $Id: pspidstorage.h 2120 2006-12-30 23:19:33Z tyranid $
11  */
12 
13 #ifndef PSPIDSTORAGE_H
14 #define PSPIDSTORAGE_H
15 
16 #include <psptypes.h>
17 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
27 
34 int sceIdStorageLookup(u16 key, u32 offset, void *buf, u32 len);
35 
40 int sceIdStorageReadLeaf(u16 key, void *buf);
41 
46 int sceIdStorageWriteLeaf(u16 key, void *buf);
47 
49 int sceIdStorageIsReadOnly(void);
50 
52 int sceIdStorageFlush(void);
53 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif