N64FlashcartMenu
Loading...
Searching...
No Matches
src
utils
fs.h
1
#ifndef UTILS_FS_H__
2
#define UTILS_FS_H__
3
4
5
#include <stdbool.h>
6
#include <stddef.h>
7
#include <stdint.h>
8
9
10
#define FS_SECTOR_SIZE (512)
11
12
13
char
*strip_sd_prefix (
char
*path);
14
15
bool
file_exists (
char
*path);
16
size_t
file_get_size (
char
*path);
17
bool
file_delete (
char
*path);
18
bool
file_allocate (
char
*path,
size_t
size);
19
bool
file_get_sectors (
char
*path, uint32_t *sectors,
size_t
entries);
20
bool
file_has_extensions (
char
*path,
const
char
*extensions[]);
21
22
bool
directory_exists (
char
*path);
23
bool
directory_delete (
char
*path);
24
bool
directory_create (
char
*path);
25
26
27
#endif
Generated on Sun Aug 20 2023 12:11:51 for N64FlashcartMenu by
1.9.5