Nucleus
Barry Inode object 00988dd (3 years, 3 months ago)
diff --git a/include/nucleus/vfs.h b/include/nucleus/vfs.h
new file mode 100644
index 0000000..f20cd47
--- /dev/null
+++ b/include/nucleus/vfs.h
@@ -0,0 +1,32 @@
+#ifndef _NUCLEUS_VFS_H
+#define _NUCLEUS_VFS_H
+
+#include <stddef.h>
+#include <sys/types.h>
+#include <nucleus/object.h>
+#include <nucleus/memory.h>
+
+typedef struct Inode Inode;
+typedef struct InodeOps InodeOps;
+
+/* Structure for an Inode */
+struct Inode {
+ Object obj;
+ ino_t ino;
+ uid_t uid;
+ gid_t gid;
+ mode_t mode;
+ nlink_t nlink;
+ size_t size;
+ dev_t dev;
+ InodeOps *ops;
+ union {
+ ObjectList *pages;
+ };
+};
+struct InodeOps {
+};
+
+extern ObjectType inodeType;
+
+#endif