summaryrefslogtreecommitdiff
path: root/Source/Library/Interface
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Library/Interface')
-rw-r--r--Source/Library/Interface/FSNode.iface.h11
-rw-r--r--Source/Library/Interface/Sys.iface.h9
2 files changed, 20 insertions, 0 deletions
diff --git a/Source/Library/Interface/FSNode.iface.h b/Source/Library/Interface/FSNode.iface.h
index 482ebd2..fd99bab 100644
--- a/Source/Library/Interface/FSNode.iface.h
+++ b/Source/Library/Interface/FSNode.iface.h
@@ -1,6 +1,13 @@
#ifndef DEF_FSNODE_IFACE_H
#define DEF_FSNODE_IFACE_H
+enum {
+ NT_FILE = 1,
+ NT_DIRECTORY = 2,
+ NT_SYMLINK = 3,
+ NT_MOUNTPOINT = 4
+};
+
#define FNIF_OBJTYPE 0x14
//S : static, GET : get, R : root, FN : fsnode
@@ -10,5 +17,9 @@
#define FNIF_TYPE 0x11
#define FNIF_GETPARENT 0x12
#define FNIF_GETLENGTH 0x13
+#define FNIF_GETUID 0x14
+#define FNIF_GETGID 0x15
+#define FNIF_GETPERM 0x16
+#define FNIF_GETPATH 0x17
#endif
diff --git a/Source/Library/Interface/Sys.iface.h b/Source/Library/Interface/Sys.iface.h
new file mode 100644
index 0000000..c734f52
--- /dev/null
+++ b/Source/Library/Interface/Sys.iface.h
@@ -0,0 +1,9 @@
+#ifndef SYS_IFACE_H
+#define SYS_IFACE_H
+
+#define SYIF_IFID 0xFF
+
+#define SYIF_HALT 0x1
+#define SYIF_REBOOT 0x2
+
+#endif