comparison src/uaf.h @ 0:376386a54a3c r19-14

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