diff options
| author | Miguel <m.i@gmx.at> | 2018-09-16 11:39:36 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-16 11:39:36 +0200 |
| commit | 740ae2e69995df37c44fe61f57642ee642982ca2 (patch) | |
| tree | b84ec79e9243fd0fe103fab1c1acc1e91e60f53d /fs/mount.h | |
| parent | e0449c5adc89eec9f378cb40a56762bf314a80ea (diff) | |
cleanup and starting improve mounts and file access (pipes, sysfiles, ext2)
Diffstat (limited to 'fs/mount.h')
| -rw-r--r-- | fs/mount.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/fs/mount.h b/fs/mount.h deleted file mode 100644 index a327e2e..0000000 --- a/fs/mount.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef MOUNT_H -#define MOUNT_H - -#define MOUNT_MAX_MOUNTS 10 - -#include <stdint.h> -#include "file.h" -#include "interface/fs.h" - -typedef struct mount_struct -{ - char path[256]; // where are we mounted - int (*getdents) (struct mount_struct*, uint32_t file_desciptor, fs_dirent *entries, uint32_t max_count); - file (*open) (struct mount_struct*,char *path); - void *data; //opaque - -}mount; - -mount *mounts_get(); -void mount_add(char *path, void *data,file (*open)(struct mount_struct*,char *path),int (*getdents)(struct mount_struct*, uint32_t file_desciptor, fs_dirent *entries, uint32_t max_count)); - -// -#endif |
