9
0
Fork 0

svn_rev_259

WIP
This commit is contained in:
Sascha Hauer 2007-07-05 18:01:37 +02:00 committed by Sascha Hauer
parent 36b2e9e62b
commit 3f8a5b17f2
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#include <driver.h>
#define FS_TYPE_CRAMFS 1
#define FS_TYPE_RAMFS 2
struct partition;
@ -13,6 +14,8 @@ struct fs_driver_d {
int (*ls) (struct device_d *dev, const char *filename);
int (*load) (char *dst, struct device_d *dev, const char *filename);
int (*probe) (struct device_d *dev);
int (*create)(struct device_d *dev, const char *pathname, ulong type);
struct handle_d *(*open)(struct device_d *dev, const char *pathname);
struct driver_d drv;
};