# pspusbstor.h

Go to the documentation of this file.

    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  * pspusbstor.h - Prototypes for the sceUsbStor and sceUsbStorBoot libraries
    00007  *
    00008  * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
    00009  *
    00010  * $Id: pspusbstor.h 1095 2005-09-27 21:02:16Z jim $
    00011  */
    00012 #ifndef __PSPUSBSTOR_H__
    00013 #define __PSPUSBSTOR_H__
    00014
    00015 #ifdef __cplusplus
    00016 extern "C" {
    00017 #endif
    00018
    00019 #define PSP_USBSTOR_DRIVERNAME "USBStor_Driver"
    00020
    00028 int sceUsbstorBootRegisterNotify(u32 eventFlag);
    00029
    00037 int sceUsbstorBootUnregisterNotify(u32 eventFlag);
    00038
    00050 int sceUsbstorBootSetCapacity(u32 size);
    00051
    00052 // the following are disabled until more testing is done
    00053 #if 0
    00054 int sceUsbstorBootGetDataSize(void); // what for ?
    00055 int sceUsbstorBootSetLoadAddr(u32 addr); // ?
    00056 int sceUsbstorBootSetStatus(u32 status); // 1=?
    00057 int sceUsbstorGetStatus(?)
    00058 #endif
    00059
    00060 #ifdef __cplusplus
    00061 }
    00062 #endif
    00063
    00064 #endif