comparison rvinterf/include/tmffs2.h @ 0:e7502631a0f9

initial import from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Jun 2016 00:13:35 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e7502631a0f9
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 */
49 #define MAX_READ_DATA 254