summaryrefslogtreecommitdiff
path: root/fs/mount.h
blob: beece3c5e64263b60936ed082968c7ed6769ff6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef MOUNT_H
#define MOUNT_H

#define MOUNT_MAX_MOUNTS 10

typedef struct mount_strutc
{
    char path[256]; // where are we mounted
    int (*getdents)(mount_struct*, uint32_t file_desciptor, fs_dirent *entries, uint32_t max_count);
    file (*open)ByName(mount_struct*,char *path);
    void *data //opaque

}mount;

mount *mounts_get();
//
#endif