Mercurial > emacs
annotate src/uaf.h @ 71723:a99d8ae1c5d9
Use outline format.
Add section on copyright years (from admin/notes/years).
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 09 Jul 2006 00:22:37 +0000 |
parents | 3bd95f4f2941 |
children | e90d04cd455a c5406394f567 |
rev | line source |
---|---|
5 | 1 /* GNU Emacs VMS UAF definition file. |
68651
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64770
diff
changeset
|
2 Copyright (C) 1986, 2002, 2003, 2004, 2005, |
3bd95f4f2941
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64770
diff
changeset
|
3 2006 Free Software Foundation, Inc. |
5 | 4 |
5 This file is part of GNU Emacs. | |
6 | |
484 | 7 GNU Emacs is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | |
12244 | 9 the Free Software Foundation; either version 2, or (at your option) |
484 | 10 any later version. |
5 | 11 |
484 | 12 GNU Emacs is distributed in the hope that it will be useful, |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with GNU Emacs; see the file COPYING. If not, write to | |
64084 | 19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 Boston, MA 02110-1301, USA. */ | |
5 | 21 |
22 /* | |
23 * User Authorization File record formats | |
24 */ | |
25 #ifndef UAF$K_LENGTH | |
26 | |
27 struct UAF { | |
28 #define UAF$C_USER_ID 1 | |
29 #define UAF$C_VERSION1 1 | |
30 #define UAF$C_KEYED_PART 52 | |
31 #define UAF$C_AD_II 0 | |
32 #define UAF$C_PURDY 1 | |
33 #define UAF$C_PURDY_V 2 | |
34 #define UAF$K_FIXED 644 | |
35 #define UAF$C_FIXED 644 | |
36 #define UAF$K_LENGTH 1412 | |
37 #define UAF$C_LENGTH 1412 | |
38 #define UAF$S_UAFDEF 1412 | |
39 #define UAF$B_RTYPE 0 | |
40 char uaf$b_rtype; | |
41 #define UAF$B_VERSION 1 | |
42 char uaf$b_version; | |
43 #define UAF$W_USRDATOFF 2 | |
44 short uaf$w_usrdatoff; | |
45 #define UAF$S_USERNAME 32 | |
46 #define UAF$T_USERNAME 4 | |
47 #define UAF$T_USERNAME_TAG 35 | |
48 char uaf$t_username[UAF$S_USERNAME]; | |
49 #define UAF$L_UIC 36 | |
50 #define UAF$W_MEM 36 | |
51 #define UAF$W_GRP 38 | |
52 union { | |
53 long uaf_l_uic; | |
54 #define uaf$l_uic uaf_u_uic.uaf_l_uic | |
55 struct { | |
56 short uaf_w_mem; | |
57 short uaf_w_grp; | |
58 #define uaf$w_mem uaf_u_uic.uaf_u_mem_grp.uaf_w_mem | |
59 #define uaf$w_grp uaf_u_uic.uaf_u_mem_grp.uaf_w_grp | |
60 } uaf_u_mem_grp; | |
61 } uaf_u_uic; | |
62 #define UAF$L_SUB_ID 40 | |
63 long uaf$l_sub_id; | |
64 #define UAF$S_PARENT_ID 8 | |
65 #define UAF$Q_PARENT_ID 44 | |
66 char uaf$q_parent_id[UAF$S_PARENT_ID]; | |
67 #define UAF$S_ACCOUNT 32 | |
68 #define UAF$T_ACCOUNT 52 | |
69 char uaf$t_account[UAF$S_ACCOUNT]; | |
70 #define UAF$S_OWNER 32 | |
71 #define UAF$T_OWNER 84 | |
72 char uaf$t_owner[UAF$S_OWNER]; | |
73 #define UAF$S_DEFDEV 32 | |
74 #define UAF$T_DEFDEV 116 | |
75 char uaf$t_defdev[UAF$S_DEFDEV]; | |
76 #define UAF$S_DEFDIR 64 | |
77 #define UAF$T_DEFDIR 148 | |
78 char uaf$t_defdir[UAF$S_DEFDIR]; | |
79 #define UAF$S_LGICMD 64 | |
80 #define UAF$T_LGICMD 212 | |
81 char uaf$t_lgicmd[UAF$S_LGICMD]; | |
82 #define UAF$S_DEFCLI 32 | |
83 #define UAF$T_DEFCLI 276 | |
84 char uaf$t_defcli[UAF$S_DEFCLI]; | |
85 #define UAF$S_CLITABLES 32 | |
86 #define UAF$T_CLITABLES 308 | |
87 char uaf$t_clitables[UAF$S_CLITABLES]; | |
88 #define UAF$S_PWD 8 | |
89 #define UAF$Q_PWD 340 | |
90 #define UAF$L_PWD 340 | |
91 char uaf$q_pwd[UAF$S_PWD]; | |
92 #define uaf$l_pwd uaf$q_pwd[0] | |
93 #define UAF$S_PWD2 8 | |
94 #define UAF$Q_PWD2 348 | |
95 char uaf$q_pwd2[UAF$S_PWD2]; | |
96 #define UAF$W_LOGFAILS 356 | |
97 short uaf$w_logfails; | |
98 #define UAF$W_SALT 358 | |
99 short uaf$w_salt; | |
100 #define UAF$B_ENCRYPT 360 | |
101 char uaf$b_encrypt; | |
102 #define UAF$B_ENCRYPT2 361 | |
103 char uaf$b_encrypt2; | |
104 #define UAF$B_PWD_LENGTH 362 | |
105 char uaf$b_pwd_length; | |
106 #define UAF$S_EXPIRATION 8 | |
107 #define UAF$Q_EXPIRATION 364 | |
108 char uaf$q_expiration[UAF$S_EXPIRATION]; | |
109 #define UAF$S_PWD_LIFETIME 8 | |
110 #define UAF$Q_PWD_LIFETIME 372 | |
111 char uaf$q_pwd_lifetime[UAF$S_PWD_LIFETIME]; | |
112 #define UAF$S_PWD_DATE 8 | |
113 #define UAF$Q_PWD_DATE 380 | |
114 char uaf$q_pwd_date[UAF$S_PWD_DATE]; | |
115 #define UAF$S_PWD2_DATE 8 | |
116 #define UAF$Q_PWD2_DATE 388 | |
117 char uaf$q_pwd2_date[UAF$S_PWD2_DATE]; | |
118 #define UAF$S_LASTLOGIN_I 8 | |
119 #define UAF$Q_LASTLOGIN_I 396 | |
120 char uaf$q_lastlogin_i[UAF$S_LASTLOGIN_I]; | |
121 #define UAF$S_LASTLOGIN_N 8 | |
122 #define UAF$Q_LASTLOGIN_N 404 | |
123 char uaf$q_lastlogin_n[UAF$S_LASTLOGIN_N]; | |
124 #define UAF$S_PRIV 8 | |
125 #define UAF$Q_PRIV 412 | |
126 char uaf$q_priv[UAF$S_PRIV]; | |
127 #define UAF$S_DEF_PRIV 8 | |
128 #define UAF$Q_DEF_PRIV 420 | |
129 char uaf$q_def_priv[UAF$S_DEF_PRIV]; | |
130 #define UAF$S_MIN_CLASS 20 | |
131 #define UAF$R_MIN_CLASS 428 | |
132 char uaf$r_min_class[UAF$S_MIN_CLASS]; | |
133 #define UAF$S_MAX_CLASS 20 | |
134 #define UAF$R_MAX_CLASS 448 | |
135 char uaf$r_max_class[UAF$S_MAX_CLASS]; | |
136 #define UAF$L_FLAGS 468 | |
137 #define UAF$V_DISCTLY 0 | |
138 #define UAF$V_DEFCLI 1 | |
139 #define UAF$V_LOCKPWD 2 | |
140 #define UAF$V_CAPTIVE 3 | |
141 #define UAF$V_DISACNT 4 | |
142 #define UAF$V_DISWELCOM 5 | |
143 #define UAF$V_DISMAIL 6 | |
144 #define UAF$V_NOMAIL 7 | |
145 #define UAF$V_GENPWD 8 | |
146 #define UAF$V_PWD_EXPIRED 9 | |
147 #define UAF$V_PWD2_EXPIRED 10 | |
148 #define UAF$V_AUDIT 11 | |
149 #define UAF$V_DISREPORT 12 | |
150 #define UAF$V_DISRECONNECT 13 | |
151 union { | |
152 unsigned long uaf_l_flags; | |
153 #define uaf$l_flags uaf_u_flags.uaf_l_flags | |
154 struct { | |
155 unsigned long | |
156 uaf_v_disctly : 1, | |
157 #define uaf$v_disctly uaf_u_flags.uaf_v_flags.uaf_v_disctly | |
158 uaf_v_defcli : 1, | |
159 #define uaf$v_defcli uaf_u_flags.uaf_v_flags.uaf_v_discli | |
160 uaf_v_lockpwd : 1, | |
161 #define uaf$v_lockpwd uaf_u_flags.uaf_v_flags.uaf_v_lockpwd | |
162 uaf_v_captive : 1, | |
163 #define uaf$v_captive uaf_u_flags.uaf_v_flags.uaf_v_captive | |
164 uaf_v_disacnt : 1, | |
165 #define uaf$v_disacnt uaf_u_flags.uaf_v_flags.uaf_v_disacnt | |
166 uaf_v_diswelcom : 1, | |
167 #define uaf$v_diswelcom uaf_u_flags.uaf_v_flags.uaf_v_diswelcom | |
168 uaf_v_dismail : 1, | |
169 #define uaf$v_dismail uaf_u_flags.uaf_v_flags.uaf_v_dismail | |
170 uaf_v_nomail : 1, | |
171 #define uaf$v_nomail uaf_u_flags.uaf_v_flags.uaf_v_nomail | |
172 uaf_v_genpwd : 1, | |
173 #define uaf$v_genpwd uaf_u_flags.uaf_v_flags.uaf_v_genpwd | |
174 uaf_v_pwd_expired : 1, | |
175 #define uaf$v_pwd_expired uaf_u_flags.uaf_v_flags.uaf_v_pwd_expired | |
176 uaf_v_pwd2_expired : 1, | |
177 #define uaf$v_pwd2_expired uaf_u_flags.uaf_v_flags.uaf_v_pwd2_expired | |
178 uaf_v_audit : 1, | |
179 #define uaf$v_audit uaf_u_flags.uaf_v_flags.uaf_v_audit | |
180 uaf_v_disreport : 1, | |
181 #define uaf$v_disreport uaf_u_flags.uaf_v_flags.uaf_v_disreport | |
182 uaf_v_disreconnect : 1; | |
183 #define uaf$v_disreconnect uaf_u_flags.uaf_v_flags.uaf_v_disreconnect | |
184 } uaf_v_flags; | |
185 } uaf_u_flags; | |
186 #define UAF$S_NETWORK_ACCESS_P 3 | |
187 #define UAF$B_NETWORK_ACCESS_P 472 | |
188 char uaf$b_network_access_p[UAF$S_NETWORK_ACCESS_P]; | |
189 #define UAF$S_NETWORK_ACCESS_S 3 | |
190 #define UAF$B_NETWORK_ACCESS_S 475 | |
191 char uaf$b_network_access_s[UAF$S_NETWORK_ACCESS_S]; | |
192 #define UAF$S_BATCH_ACCESS_P 3 | |
193 #define UAF$B_BATCH_ACCESS_P 478 | |
194 char uaf$b_batch_access_p[UAF$S_BATCH_ACCESS_P]; | |
195 #define UAF$S_BATCH_ACCESS_S 3 | |
196 #define UAF$B_BATCH_ACCESS_S 481 | |
197 char uaf$b_batch_access_s[UAF$S_BATCH_ACCESS_S]; | |
198 #define UAF$S_LOCAL_ACCESS_P 3 | |
199 #define UAF$B_LOCAL_ACCESS_P 484 | |
200 char uaf$b_local_access_p[UAF$S_LOCAL_ACCESS_P]; | |
201 #define UAF$S_LOCAL_ACCESS_S 3 | |
202 #define UAF$B_LOCAL_ACCESS_S 487 | |
203 char uaf$b_local_access_s[UAF$S_LOCAL_ACCESS_S]; | |
204 #define UAF$S_DIALUP_ACCESS_P 3 | |
205 #define UAF$B_DIALUP_ACCESS_P 490 | |
206 char uaf$b_dialup_access_p[UAF$S_DIALUP_ACCESS_P]; | |
207 #define UAF$S_DIALUP_ACCESS_S 3 | |
208 #define UAF$B_DIALUP_ACCESS_S 493 | |
209 char uaf$b_dialup_access_s[UAF$S_DIALUP_ACCESS_S]; | |
210 #define UAF$S_REMOTE_ACCESS_P 3 | |
211 #define UAF$B_REMOTE_ACCESS_P 496 | |
212 char uaf$b_remote_access_p[UAF$S_REMOTE_ACCESS_P]; | |
213 #define UAF$S_REMOTE_ACCESS_S 3 | |
214 #define UAF$B_REMOTE_ACCESS_S 499 | |
215 char uaf$b_remote_access_s[UAF$S_REMOTE_ACCESS_S]; | |
216 #define UAF$B_PRIMEDAYS 514 | |
217 #define UAF$V_MONDAY 0 | |
218 #define UAF$V_TUESDAY 1 | |
219 #define UAF$V_WEDNESDAY 2 | |
220 #define UAF$V_THURSDAY 3 | |
221 #define UAF$V_FRIDAY 4 | |
222 #define UAF$V_SATURDAY 5 | |
223 #define UAF$V_SUNDAY 6 | |
224 union { | |
225 unsigned char uaf_b_primedays; | |
226 #define uaf$b_primedays uaf_u_primedays.uaf_b_primedays | |
227 unsigned char | |
228 uaf_v_monday : 1, | |
229 #define uaf$v_monday uaf_u_primedays.uaf_v_monday | |
230 uaf_v_tuesday : 1, | |
231 #define uaf$v_tuesday uaf_u_primedays.uaf_v_tuesday | |
232 uaf_v_wednesday : 1, | |
233 #define uaf$v_wednesday uaf_u_primedays.uaf_v_wednesday | |
234 uaf_v_thursday : 1, | |
3545
91d20436874c
(uaf$v_thursday): Fix misspelling of "thursday".
Richard M. Stallman <rms@gnu.org>
parents:
484
diff
changeset
|
235 #define uaf$v_thursday uaf_u_primedays.uaf_v_thursday |
5 | 236 uaf_v_friday : 1, |
237 #define uaf$v_friday uaf_u_primedays.uaf_v_friday | |
238 uaf_v_saturday : 1, | |
239 #define uaf$v_saturday uaf_u_primedays.uaf_v_saturday | |
240 uav_v_sunday : 1; | |
241 #define uaf$v_sunday uaf_u_primedays.uaf_v_sunday | |
242 } uaf_u_primedays; | |
243 #define UAF$B_PRI 516 | |
244 char uaf$b_pri; | |
245 #define UAF$B_QUEPRI 517 | |
246 char uaf$b_quepri; | |
247 #define UAF$W_MAXJOBS 518 | |
248 short uaf$w_maxjobs; | |
249 #define UAF$W_MAXACCTJOBS 520 | |
250 short uaf$w_maxacctjobs; | |
251 #define UAF$W_MAXDETACH 522 | |
252 short uaf$w_maxdetach; | |
253 #define UAF$W_PRCCNT 524 | |
254 short uaf$w_prccnt; | |
255 #define UAF$W_BIOLM 526 | |
256 short uaf$w_biolm; | |
257 #define UAF$W_DIOLM 528 | |
258 short uaf$w_diolm; | |
259 #define UAF$W_TQCNT 530 | |
260 short uaf$w_twcnt; | |
261 #define UAF$W_ASTLM 532 | |
262 short uaf$w_astlm; | |
263 #define UAF$W_ENQLM 534 | |
264 short uaf$w_enqlm; | |
265 #define UAF$W_FILLM 536 | |
266 short uaf$w_fillm; | |
267 #define UAF$W_SHRFILLM 538 | |
268 short uaf$w_shrfillm; | |
269 #define UAF$L_WSQUOTA 540 | |
270 long uaf$l_wsquota; | |
271 #define UAF$L_DFWSCNT 544 | |
272 long uaf$l_dfwscnt; | |
273 #define UAF$L_WSEXTENT 548 | |
274 long uaf$l_wsextent; | |
275 #define UAF$L_PGFLQUOTA 552 | |
276 long uaf$l_pgflquota; | |
277 #define UAF$L_CPUTIM 556 | |
278 long uaf$l_cputim; | |
279 #define UAF$L_BYTLM 560 | |
280 long uaf$l_bytlm; | |
281 #define UAF$L_PBYTLM 564 | |
282 long uaf$l_pbytlm; | |
283 #define UAF$L_JTQUOTA 568 | |
284 long uaf$l_jtquota; | |
285 #define UAF$W_PROXY_LIM 572 | |
286 short uaf$w_proxy_lim; | |
287 #define UAF$W_PROXIES 574 | |
288 short uaf$w_proxies; | |
289 #define UAF$W_ACCOUNT_LIM 576 | |
290 short uaf$w_account_lim; | |
291 #define UAF$W_ACCOUNTS 578 | |
292 short uaf$w_accounts; | |
293 char uaf$b_fixed[UAF$C_FIXED - UAF$W_ACCOUNTS + 2]; | |
294 char uaf$b_usrdata[UAF$C_LENGTH - UAF$C_FIXED]; | |
295 }; | |
296 | |
297 #endif /* not UAF$K_LENGTH */ | |
52401 | 298 |
299 /* arch-tag: f95d73be-b0bf-46b7-adf7-89ce8846b062 | |
300 (do not change this comment) */ |