|
|
1.1 root 1: #define NETVERSION 1 /* protocol variant */
2:
3: #define NSEARCH 0
4: #define NSTAT 1
5: #define NWRT 2
6: #define NREAD 3
7: #define NFREE 4
8: #define NTRUNC 5
9: #define NUPDAT 6
10: #define NGET 7
11: #define NNAMI 8
12: #define NPUT 9
13: #define NROOT 10
14: #define NDEL 11
15: #define NLINK 12
16: #define NCREAT 13
17: #define NOMATCH 14
18: #define NSTART 15
19: #define NIOCTL 16
20: #define NMKDIR 17
21: #define NRMDIR 18
22:
23: struct senda { /* not space efficient */
24: char version;
25: char cmd;
26: char flags; /* now only for nami */
27: char rsvd;
28: long trannum;
29: short uid;
30: short gid;
31: short dev; /* server may be using several */
32: long tag;
33: long mode;
34: short newuid; /* for updat */
35: short newgid;
36: long ino;
37: long count;
38: long offset;
39: char *buf;
40: time_t ta;
41: time_t tm;
42: };
43:
44: struct rcva { /* not space efficient either */
45: long trannum;
46: char errno;
47: char flags; /* NROOT for nami */
48: short dev;
49: long size;
50: short mode;
51: short uid;
52: short gid;
53: long tag;
54: short nlink;
55: short rsvd;
56: long ino; /* back from nami */
57: long count; /* count or loc for nami to use */
58: time_t tm[3];
59: };
60:
61: extern long trannum;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.