11#define fsfind __fsfind
12#define fslist __fslist
13#define fsnextlba __fsnextlba
14#define fsread __fsread
15#define fswrite __fswrite
16#define fsdelete __fsdelete
17#define fswriteb __fswriteb
18#define fsreadb __fsreadb
char * __fsread(const char *name)
fsread reads a files contents from disk into memory
char * __fslist(void)
fslist returns a newline-separated listing of all files
void __fsinit(arena_t *heap)
fsinit initializes the filesystem table from disk
void __fsdelete(const char *name)
fsdelete removes a file from the filesystem
uint32_t __fsnextlba(void)
fsnextlba finds the next unused lba for a new file
uint32_t __fsfind(const char *name)
fsfind searches the filesystem for a file by name
int __fswriteb(arena_t *heap, const char *name, uint8_t *data, uint32_t size)
fswriteb writes raw byte data to a file on disk
int __fswrite(arena_t *heap, const char *name, const char *content)
fswrite writes text content to a file on disk
int __fsreadb(const char *name, uint8_t *buffer, uint32_t max_size)
fsreadb reads raw byte data from a file off disk
void __fsadd(arena_t *heap, const char *name, uint32_t lba)
fsadd adds a new file entry to the filesystem