#include <stdint.h>
#include "common/psxlibc/stdio.h"
Go to the source code of this file.
|
typedef void(* | device_init) () |
|
typedef int(* | device_open) (struct File *, const char *filename, int mode) |
|
typedef int(* | device_action) (struct File *, enum FileAction) |
|
typedef int(* | device_close) (struct File *) |
|
typedef int(* | device_ioctl) (struct File *, int cmd, int arg) |
|
typedef int(* | device_read) (struct File *, void *buffer, int size) |
|
typedef int(* | device_write) (struct File *, void *buffer, int size) |
|
typedef int(* | device_erase) (struct File *, const char *path) |
|
typedef struct DirEntry *(* | device_firstFile) (struct File *file, const char *filename, struct DirEntry *entry) |
|
typedef struct DirEntry *(* | device_nextFile) (struct File *file, struct DirEntry *entry) |
|
typedef int(* | device_format) (struct File *file) |
|
typedef int(* | device_rename) (struct File *oldFile, const char *oldName, struct File *newFile, const char *newName) |
|
typedef void(* | device_deinit) () |
|
◆ device_action
◆ device_close
◆ device_deinit
typedef void(* device_deinit) () |
◆ device_erase
◆ device_firstFile
◆ device_format
◆ device_init
typedef void(* device_init) () |
◆ device_ioctl
◆ device_nextFile
◆ device_open
◆ device_read
◆ device_rename
typedef int(* device_rename) (struct File *oldFile, const char *oldName, struct File *newFile, const char *newName) |
◆ device_write
◆ anonymous enum
Enumerator |
---|
PSXDTTYPE_CHAR | |
PSXDTTYPE_CONS | |
PSXDTTYPE_BLOCK | |
PSXDTTYPE_RAW | |
PSXDTTYPE_FS | |
◆ FileAction
Enumerator |
---|
PSXREAD | |
PSXWRITE | |