Nucleus
Barry File system type object 4f75471 (3 years, 3 months ago)
diff --git a/include/nucleus/vfs.h b/include/nucleus/vfs.h
index f20cd47..2439151 100644
--- a/include/nucleus/vfs.h
+++ b/include/nucleus/vfs.h
@@ -6,9 +6,12 @@
#include <nucleus/object.h>
#include <nucleus/memory.h>
+typedef struct FSType FSType;
typedef struct Inode Inode;
typedef struct InodeOps InodeOps;
+typedef Inode *(*mount_callback_t)(FSType *, int, const char *, void *);
+
/* Structure for an Inode */
struct Inode {
Object obj;
@@ -27,6 +30,10 @@ struct Inode {
struct InodeOps {
};
+extern ObjectType fstypeType;
extern ObjectType inodeType;
+void init_vfs(void);
+void register_fstype(const char *name, mount_callback_t mount);
+
#endif