2025-07-01 20:39:38 -05:00
|
|
|
#ifndef _SFS_H
|
|
|
|
|
#define _SFS_H
|
|
|
|
|
|
|
|
|
|
#include <types.h>
|
|
|
|
|
|
2025-07-07 10:41:05 -05:00
|
|
|
int32_t sfs_init(void);
|
2025-07-01 20:39:38 -05:00
|
|
|
|
|
|
|
|
bool sfs_get_formatted_name(const char* raw_name, char output[37]);
|
|
|
|
|
|
2025-07-07 10:41:05 -05:00
|
|
|
int32_t sfs_create_file(const char* _name, int32_t size_bytes);
|
|
|
|
|
|
|
|
|
|
int32_t sfs_read_file(char* name, void* buffer, int32_t num);
|
|
|
|
|
int32_t sfs_write_file(char* _name, const void* buffer, int32_t num);
|
2025-07-01 20:39:38 -05:00
|
|
|
|
|
|
|
|
#endif
|