comparison rvinterf/include/ffs.h @ 282:517e8a428fde

fc-fsio: xlstat operation implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 25 Feb 2014 07:42:21 +0000
parents 7f14d7c789a7
children
comparison
equal deleted inserted replaced
281:082d12a1651e 282:517e8a428fde
1 /* 1 /*
2 * A few generic FFS API definitions which apply to both TMFFS1 and TMFFS2 2 * A few generic FFS API definitions which apply to both TMFFS1 and TMFFS2
3 */ 3 */
4
5 enum FFS_OBJECT_TYPE {
6 OT_FILE = 1,
7 OT_DIR = 2,
8 OT_LINK = 3,
9 OT_SEGMENT = 4
10 };
11
12 enum FFS_OBJECT_FLAGS {
13 OF_READONLY = 1<<4 // object cannot be modified
14 };
4 15
5 enum FFS_OPEN { 16 enum FFS_OPEN {
6 FFS_O_EMPTY = 0x00, // Okay? 17 FFS_O_EMPTY = 0x00, // Okay?
7 FFS_O_CREATE = 0x01, 18 FFS_O_CREATE = 0x01,
8 FFS_O_APPEND = 0x02, 19 FFS_O_APPEND = 0x02,