00001 /* 00002 * PSP Software Development Kit - http://www.pspdev.org 00003 * ----------------------------------------------------------------------- 00004 * Licensed under the BSD license, see LICENSE in PSPSDK root for details. 00005 * 00006 * pspidstorage.h - Interface to sceIdstorage_driver. 00007 * 00008 * Copyright (c) 2006 Harley G. <harleyg@0x89.org> 00009 * 00010 * $Id: pspidstorage.h 2120 2006-12-30 23:19:33Z tyranid $ 00011 */ 00012 00013 #ifndef PSPIDSTORAGE_H 00014 #define PSPIDSTORAGE_H 00015 00016 #include <psptypes.h> 00017 00021 #ifdef __cplusplus 00022 extern "C" { 00023 #endif 00024 00027 00034 int sceIdStorageLookup(u16 key, u32 offset, void *buf, u32 len); 00035 00040 int sceIdStorageReadLeaf(u16 key, void *buf); 00041 00046 int sceIdStorageWriteLeaf(u16 key, void *buf); 00047 00049 int sceIdStorageIsReadOnly(void); 00050 00052 int sceIdStorageFlush(void); 00053 00056 #ifdef __cplusplus 00057 } 00058 #endif 00059 00060 #endif