|
|
1.1 root 1: #if defined(RCSIDENT) && defined (MAINLINE)
2: static char zzdumpid[] = "$Header: dump.h,v 1.7 85/01/18 15:47:35 notes Rel $";
3: #endif defined(RCSIDENT) && defined(MAINLINE)
4:
5: struct dump_f /* variable relations */
6: {
7: char *du_name;
8: int du_number;
9: };
10:
11: /*
12: * Variable numbers for the assorted fields of the
13: * notesfile descriptor.
14: */
15:
16: #define NF_TITLE 1
17: #define NF_DIRECTOR_MESSAGE 2
18: #define NF_LAST_MODIFIED 3
19: #define NF_STATUS 4
20: #define NF_ID_SEQUENCE 5
21: #define NF_NUMBER 6
22: #define NF_LAST_TRANSMIT 7
23: #define NF_CREATED 8
24: #define NF_LAST_USED 9
25: #define NF_DAYS_USED 10
26: #define NF_NOTES_WRITTEN 11
27: #define NF_NOTES_READ 12
28: #define NF_NOTES_TRANSMITTED 13
29: #define NF_NOTES_RECEIVED 14
30: #define NF_NOTES_DROPPED 15
31: #define NF_RESPONSES_WRITTEN 16
32: #define NF_RESPONSES_READ 17
33: #define NF_RESPONSES_TRANSMITTED 18
34: #define NF_RESPONSES_RECEIVED 19
35: #define NF_RESPONSES_DROPPED 20
36: #define NF_ENTRIES 21
37: #define NF_WALLTIME 22
38: #define NF_ORPHANS_RECEIVED 23
39: #define NF_ORPHANS_ADOPTED 24
40: #define NF_TRANSMITS 25
41: #define NF_RECEIVES 26
42: #define NF_EXPIRATION_AGE 27
43: #define NF_EXPIRATION_ACTION 28
44: #define NF_EXPIRATION_STATUS 29
45: #define NF_WORKING_SET_SIZE 30
46: #define NF_LONGEST_TEXT 31
47: #define NF_POLICY_EXISTS 32
48: #define NF_DESCRIPTOR 33
49:
50: /*
51: * Variable numbers for the assorted fields of the
52: * Access list
53: *
54: * Currently unused, but what the hell.
55: */
56:
57: #define ACCESS_RIGHT 1
58: #define ACCESS_FINISHED 2
59:
60: /*
61: * RFC-style lines for a note
62: */
63:
64: #define NOTE_TITLE 1
65: #define NOTE_AUTHOR 2
66: #define NOTE_AUTHOR_UID 3
67: #define NOTE_ID 4
68: #define NOTE_WRITTEN 5
69: #define NOTE_RECEIVED 6
70: #define NOTE_MODIFIED 7
71: #define NOTE_FROMSYS 8
72: #define NOTE_STATUS 9
73: #define NOTE_LENGTH 10
74:
75: /*
76: * RFC-style lines for a response
77: */
78:
79: #define RESP_TITLE 1
80: #define RESP_PARENT 2
81: #define RESP_AUTHOR 3
82: #define RESP_AUTHOR_UID 4
83: #define RESP_ID 5
84: #define RESP_WRITTEN 6
85: #define RESP_RECEIVED 7
86: #define RESP_FROMSYS 8
87: #define RESP_STATUS 9
88: #define RESP_LENGTH 10
89:
90: /*
91: * Declarations for assorted tables of variables.
92: */
93:
94: extern struct dump_f descrnames[]; /* descriptor */
95: extern struct dump_f accessnames[]; /* access rights */
96: extern struct dump_f notenames[]; /* a note */
97: extern struct dump_f respnames[]; /* a response */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.