summaryrefslogtreecommitdiff
path: root/src/common/include/tce/vfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/include/tce/vfs.h')
-rw-r--r--src/common/include/tce/vfs.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/common/include/tce/vfs.h b/src/common/include/tce/vfs.h
deleted file mode 100644
index 20ea03b..0000000
--- a/src/common/include/tce/vfs.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef DEF_TCE_VFS_H
-#define DEF_TCE_VFS_H
-
-#include <types.h>
-
-typedef size_t FILE;
-
-typedef struct _file_info {
- uint32_t type;
- uint32_t dev_type;
- uint32_t mode;
- uint32_t uid, gid;
- size_t size;
-} file_info;
-
-// file open flags
-#define FM_READ 0x00000001
-#define FM_WRITE 0x00000002
-#define FM_APPEND 0x00000004
-#define FM_TRUNC 0x00000008
-#define FM_CREATE 0x00000010
-#define FM_DELETE 0x00000020
-
-// link modes
-#define LM_SYMLINK 1
-#define LM_HARDLINK 2
-#define LM_MOUNT 3
-#define LM_OUTPUT_TO 4
-
-// file type flags
-#define FT_FILE 0x00000001
-#define FT_DIR 0x00000002
-#define FT_SYMLINK 0x00000004
-#define FT_DEV 0x00000008
-#define FT_TERMINAL 0x00000010
-
-// device types
-#define DT_BLOCK 1
-#define DT_KEYBOARD 2
-#define DT_DISPLAY 3
-
-#endif