small fix...
[midnight-commander.git] / vfs / mcfs.h
blob16f4ab3acd1627d0dfa5bd0362439a8448ba5bbb
1 #define mcserver_port 9876
3 /* This number was registered for program "mcfs" with rpc@Sun.COM */
4 #define RPC_PROGNUM 300516
5 #define RPC_PROGVER 2
7 /* this constants must be kept in sync with mcserv.c commands */
8 /* They are the messages sent on the link connection */
9 enum {
10 MC_OPEN,
11 MC_CLOSE,
12 MC_READ,
13 MC_WRITE,
14 MC_OPENDIR,
15 MC_READDIR,
16 MC_CLOSEDIR,
17 MC_STAT,
18 MC_LSTAT,
19 MC_FSTAT,
20 MC_CHMOD,
21 MC_CHOWN,
22 MC_READLINK,
23 MC_UNLINK,
24 MC_RENAME,
25 MC_CHDIR,
26 MC_LSEEK,
27 MC_RMDIR,
28 MC_SYMLINK,
29 MC_MKNOD,
30 MC_MKDIR,
31 MC_LINK,
32 MC_GETHOME,
33 MC_GETUPDIR,
35 /* Control commands */
36 MC_LOGIN,
37 MC_QUIT,
39 MC_UTIME, /* it has to go here for compatibility with old
40 servers/clients. sigh ... */
42 MC_INVALID_PASS = 0x1000,
43 MC_NEED_PASSWORD,
44 MC_LOGINOK,
45 MC_VERSION_OK,
46 MC_VERSION_MISMATCH,
47 MC_PASS