discoverpixy
|
#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | FILE_DATE_STRUCT |
struct | FILE_TIME_STRUCT |
struct | FILE_STRUCT |
struct | DIRECTORY_STRUCT |
struct | FILE_HANDLE |
Enumerations | |
enum | FILE_ATTRIBUTES { F_RDO = 0x01, F_HID = 0x02, F_SYS = 0x04, F_DIR = 0x10, F_ARC = 0x20 } |
enum | FILE_STATUS { F_OK, F_EOF, F_EACCESS, F_INVALIDPARAM, F_DISKERROR } |
Functions | |
bool | filesystem_init () |
DIRECTORY_STRUCT * | filesystem_dir_open (const char *path) |
void | filesystem_dir_close (DIRECTORY_STRUCT *dir) |
FILE_HANDLE * | filesystem_file_open (const char *filename) |
void | filesystem_file_close (FILE_HANDLE *handle) |
FILE_STATUS | filesystem_file_seek (FILE_HANDLE *handle, uint32_t offset) |
FILE_STATUS | filesystem_file_read (FILE_HANDLE *handle, uint8_t *buf, uint32_t size) |
FILE_STATUS | filesystem_file_write (FILE_HANDLE *handle, uint8_t *buf, uint32_t size) |