/* Vita Development Suite Libraries */ #ifndef _VDSUITE_USER_USBSTORVSTOR_H #define _VDSUITE_USER_USBSTORVSTOR_H #ifdef __cplusplus extern "C" { #endif typedef enum SceUsbstorVstorType { SCE_USBSTOR_VSTOR_TYPE_FAT = 0, SCE_USBSTOR_VSTOR_TYPE_CDROM = 5 } SceUsbstorVstorType; /** * Set image file path * * @param[in] path - Image file path * * @return 0 on success, < 0 on error. */ int sceUsbstorVStorSetImgFilePath(const char *path); /** * Set USB descriptor device information * * @param[in] name - Name * @param[in] version - Version * * @return 0 on success, < 0 on error. */ int sceUsbstorVStorSetDeviceInfo(const char *name, const char *version); /** * Start USB virtual storage * * @param[in] type - One of ::SceUsbstorVstorType * * @return 0 on success, < 0 on error. */ int sceUsbstorVStorStart(SceUsbstorVstorType type); /** * Stop USB virtual storage * * @return 0 on success, < 0 on error. */ int sceUsbstorVStorStop(void); #ifdef __cplusplus } #endif #endif /* _VDSUITE_USER_USBSTORVSTOR_H */