56typedef struct DirEntry *(*device_firstFile)(
struct File *file,
const char *filename,
struct DirEntry *entry);
@ PSXDTTYPE_RAW
Definition device.h:44
@ PSXDTTYPE_CONS
Definition device.h:42
@ PSXDTTYPE_CHAR
Definition device.h:41
@ PSXDTTYPE_FS
Definition device.h:45
@ PSXDTTYPE_BLOCK
Definition device.h:43
struct DirEntry *(* device_firstFile)(struct File *file, const char *filename, struct DirEntry *entry)
Definition device.h:56
void(* device_init)()
Definition device.h:48
int(* device_open)(struct File *, const char *filename, int mode)
Definition device.h:49
struct DirEntry *(* device_nextFile)(struct File *file, struct DirEntry *entry)
Definition device.h:57
int(* device_close)(struct File *)
Definition device.h:51
int(* device_ioctl)(struct File *, int cmd, int arg)
Definition device.h:52
int(* device_format)(struct File *file)
Definition device.h:58
void(* device_deinit)()
Definition device.h:60
int(* device_erase)(struct File *, const char *path)
Definition device.h:55
int(* device_action)(struct File *, enum FileAction)
Definition device.h:50
int(* device_rename)(struct File *oldFile, const char *oldName, struct File *newFile, const char *newName)
Definition device.h:59
int(* device_write)(struct File *, void *buffer, int size)
Definition device.h:54
int(* device_read)(struct File *, void *buffer, int size)
Definition device.h:53
FileAction
Definition device.h:35
@ PSXREAD
Definition device.h:36
@ PSXWRITE
Definition device.h:37
uint32_t cmd
Definition dma.c:108
static int size
Definition string.h:32
void * check
Definition device.h:82
device_open open
Definition device.h:68
device_firstFile firstFile
Definition device.h:76
device_ioctl ioctl
Definition device.h:71
const char * name
Definition device.h:63
const char * desc
Definition device.h:66
device_read read
Definition device.h:72
uint32_t flags
Definition device.h:64
device_nextFile nextFile
Definition device.h:77
device_deinit deinit
Definition device.h:81
device_close close
Definition device.h:70
void * undelete
Definition device.h:75
device_init init
Definition device.h:67
device_write write
Definition device.h:73
device_action action
Definition device.h:69
device_rename rename
Definition device.h:80
device_erase erase
Definition device.h:74
device_format format
Definition device.h:78
uint32_t blockSize
Definition device.h:65
void * chdir
Definition device.h:79
static void * buffer
Definition syscalls.h:230
static void uint32_t mode
Definition syscalls.h:230
void uint32_t(classId, spec)