summaryrefslogtreecommitdiff
path: root/fs/fs.c
blob: a2138611e2620d700b5bc5e562afe46683a96506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// abstraction layer for filesystems
#include <lib/int/stdint.h>

enum FS_FILE_TYPE{
    
    FS_FILE_TYPE_DIR	=	1,
    FS_FILE_TYPE_FILE	=	2
};

typedef struct fs_file_struct
{
    int type;
    char name[256]; 
    
}fs_file;

int fs_list(char *path, fs_file *list);
{

}

int fs_read(char *path, uint8_t *buf)
{

}

int fs_mount(char *dev, char *dir)
{

}