comparison rvinterf/include/tmffs2.h @ 260:c146f38d2b5f

rvinterf subdir structure made a little more sensible
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 05 Feb 2014 04:02:13 +0000
parents rvinterf/etm/tmffs2.h@35113b1964d3
children 7b4d4e3e610a
comparison
equal deleted inserted replaced
259:35113b1964d3 260:c146f38d2b5f
1 /******************************************************************************
2 * FFS2 Protocol Indentifiers
3 ******************************************************************************/
4
5 enum FFS2_PROTOCOL_IDENTIFIERS {
6 TMFFS_FORMAT = 'f',
7 TMFFS_PREFORMAT = 'p',
8
9 TMFFS_MKDIR = 'm',
10 TMFFS_OPENDIR = 'o',
11 TMFFS_READDIR = 'D',
12 TMFFS_REMOVE = 'd',
13 TMFFS_RENAME = 'n',
14 TMFFS_XLSTAT = 'x',
15
16 TMFFS_SYMLINK = 'y',
17 TMFFS_READLINK = 'Y',
18
19 TMFFS_OPEN = 'O',
20 TMFFS_CLOSE = 'C',
21 TMFFS_READ = 'R',
22 TMFFS_WRITE = 'W',
23 TMFFS_SEEK = 'S',
24
25 TMFFS_FTRUNCATE = 'T',
26 TMFFS_TRUNCATE = 't',
27
28 TMFFS_FILE_READ = 'r',
29 TMFFS_FILE_WRITE = 'w',
30
31 TMFFS_FSTAT = 'F',
32 TMFFS_LSTAT = 'l',
33 TMFFS_STAT = 's',
34
35 TMFFS_FCONTROL = 'c',
36 TMFFS_QUERY = 'q',
37
38 TMFFS_INIT = 'i',
39 TMFFS_EXIT = 'e',
40
41 // Special
42 TMFFS_DIRXLSTAT = 'X',
43
44 TMFFS_VERSION = 'v',
45 TMFFS_TFFS = 'z'
46 };
47
48 #define TMFFS_STRING_SIZE 127 /* includes the terminating NUL */