summaryrefslogtreecommitdiff
path: root/Source/Kernel/VFS/VFS.ns.h
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-09-13 15:14:13 +0200
committerAlexis211 <alexis211@gmail.com>2009-09-13 15:14:13 +0200
commit0b760a50b5aee05f1f34c1599b547c8b78d1d737 (patch)
tree8271581cdf49d2eef265d31bd9e1fc30c0ecaf4f /Source/Kernel/VFS/VFS.ns.h
parentb808b613a5c7e0b6c6c45b28f7f0169dc13afaa2 (diff)
downloadMelon-0b760a50b5aee05f1f34c1599b547c8b78d1d737.tar.gz
Melon-0b760a50b5aee05f1f34c1599b547c8b78d1d737.zip
Ram file system seems to work \o/
Diffstat (limited to 'Source/Kernel/VFS/VFS.ns.h')
-rw-r--r--Source/Kernel/VFS/VFS.ns.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/Kernel/VFS/VFS.ns.h b/Source/Kernel/VFS/VFS.ns.h
index cdd6e23..622d120 100644
--- a/Source/Kernel/VFS/VFS.ns.h
+++ b/Source/Kernel/VFS/VFS.ns.h
@@ -2,9 +2,14 @@
#define DEF_VFS_NS_H
#include <VFS/FSNode.proto.h>
+#include <VFS/FileSystem.proto.h>
-namespace VFS {
+typedef FileSystem* (* mountcallback)(Partition* partition);
+namespace VFS {
+ void registerMountCallback(mountcallback mcb);
+ bool mount(Partition* partition);
+ bool setRootNode(FSNode* root);
}
#endif