1 /* GNU Emacs VMS UAF definition file.
2 Copyright (C) 1986 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 GNU Emacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; 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. */
22 * User Authorization File record formats
27 #define UAF$C_USER_ID 1
28 #define UAF$C_VERSION1 1
29 #define UAF$C_KEYED_PART 52
32 #define UAF$C_PURDY_V 2
33 #define UAF$K_FIXED 644
34 #define UAF$C_FIXED 644
35 #define UAF$K_LENGTH 1412
36 #define UAF$C_LENGTH 1412
37 #define UAF$S_UAFDEF 1412
40 #define UAF$B_VERSION 1
42 #define UAF$W_USRDATOFF 2
43 short uaf$w_usrdatoff
;
44 #define UAF$S_USERNAME 32
45 #define UAF$T_USERNAME 4
46 #define UAF$T_USERNAME_TAG 35
47 char uaf$t_username
[UAF$S_USERNAME
];
53 #define uaf$l_uic uaf_u_uic.uaf_l_uic
57 #define uaf$w_mem uaf_u_uic.uaf_u_mem_grp.uaf_w_mem
58 #define uaf$w_grp uaf_u_uic.uaf_u_mem_grp.uaf_w_grp
61 #define UAF$L_SUB_ID 40
63 #define UAF$S_PARENT_ID 8
64 #define UAF$Q_PARENT_ID 44
65 char uaf$q_parent_id
[UAF$S_PARENT_ID
];
66 #define UAF$S_ACCOUNT 32
67 #define UAF$T_ACCOUNT 52
68 char uaf$t_account
[UAF$S_ACCOUNT
];
69 #define UAF$S_OWNER 32
70 #define UAF$T_OWNER 84
71 char uaf$t_owner
[UAF$S_OWNER
];
72 #define UAF$S_DEFDEV 32
73 #define UAF$T_DEFDEV 116
74 char uaf$t_defdev
[UAF$S_DEFDEV
];
75 #define UAF$S_DEFDIR 64
76 #define UAF$T_DEFDIR 148
77 char uaf$t_defdir
[UAF$S_DEFDIR
];
78 #define UAF$S_LGICMD 64
79 #define UAF$T_LGICMD 212
80 char uaf$t_lgicmd
[UAF$S_LGICMD
];
81 #define UAF$S_DEFCLI 32
82 #define UAF$T_DEFCLI 276
83 char uaf$t_defcli
[UAF$S_DEFCLI
];
84 #define UAF$S_CLITABLES 32
85 #define UAF$T_CLITABLES 308
86 char uaf$t_clitables
[UAF$S_CLITABLES
];
90 char uaf$q_pwd
[UAF$S_PWD
];
91 #define uaf$l_pwd uaf$q_pwd[0]
93 #define UAF$Q_PWD2 348
94 char uaf$q_pwd2
[UAF$S_PWD2
];
95 #define UAF$W_LOGFAILS 356
97 #define UAF$W_SALT 358
99 #define UAF$B_ENCRYPT 360
101 #define UAF$B_ENCRYPT2 361
103 #define UAF$B_PWD_LENGTH 362
104 char uaf$b_pwd_length
;
105 #define UAF$S_EXPIRATION 8
106 #define UAF$Q_EXPIRATION 364
107 char uaf$q_expiration
[UAF$S_EXPIRATION
];
108 #define UAF$S_PWD_LIFETIME 8
109 #define UAF$Q_PWD_LIFETIME 372
110 char uaf$q_pwd_lifetime
[UAF$S_PWD_LIFETIME
];
111 #define UAF$S_PWD_DATE 8
112 #define UAF$Q_PWD_DATE 380
113 char uaf$q_pwd_date
[UAF$S_PWD_DATE
];
114 #define UAF$S_PWD2_DATE 8
115 #define UAF$Q_PWD2_DATE 388
116 char uaf$q_pwd2_date
[UAF$S_PWD2_DATE
];
117 #define UAF$S_LASTLOGIN_I 8
118 #define UAF$Q_LASTLOGIN_I 396
119 char uaf$q_lastlogin_i
[UAF$S_LASTLOGIN_I
];
120 #define UAF$S_LASTLOGIN_N 8
121 #define UAF$Q_LASTLOGIN_N 404
122 char uaf$q_lastlogin_n
[UAF$S_LASTLOGIN_N
];
124 #define UAF$Q_PRIV 412
125 char uaf$q_priv
[UAF$S_PRIV
];
126 #define UAF$S_DEF_PRIV 8
127 #define UAF$Q_DEF_PRIV 420
128 char uaf$q_def_priv
[UAF$S_DEF_PRIV
];
129 #define UAF$S_MIN_CLASS 20
130 #define UAF$R_MIN_CLASS 428
131 char uaf$r_min_class
[UAF$S_MIN_CLASS
];
132 #define UAF$S_MAX_CLASS 20
133 #define UAF$R_MAX_CLASS 448
134 char uaf$r_max_class
[UAF$S_MAX_CLASS
];
135 #define UAF$L_FLAGS 468
136 #define UAF$V_DISCTLY 0
137 #define UAF$V_DEFCLI 1
138 #define UAF$V_LOCKPWD 2
139 #define UAF$V_CAPTIVE 3
140 #define UAF$V_DISACNT 4
141 #define UAF$V_DISWELCOM 5
142 #define UAF$V_DISMAIL 6
143 #define UAF$V_NOMAIL 7
144 #define UAF$V_GENPWD 8
145 #define UAF$V_PWD_EXPIRED 9
146 #define UAF$V_PWD2_EXPIRED 10
147 #define UAF$V_AUDIT 11
148 #define UAF$V_DISREPORT 12
149 #define UAF$V_DISRECONNECT 13
151 unsigned long uaf_l_flags
;
152 #define uaf$l_flags uaf_u_flags.uaf_l_flags
156 #define uaf$v_disctly uaf_u_flags.uaf_v_flags.uaf_v_disctly
158 #define uaf$v_defcli uaf_u_flags.uaf_v_flags.uaf_v_discli
160 #define uaf$v_lockpwd uaf_u_flags.uaf_v_flags.uaf_v_lockpwd
162 #define uaf$v_captive uaf_u_flags.uaf_v_flags.uaf_v_captive
164 #define uaf$v_disacnt uaf_u_flags.uaf_v_flags.uaf_v_disacnt
166 #define uaf$v_diswelcom uaf_u_flags.uaf_v_flags.uaf_v_diswelcom
168 #define uaf$v_dismail uaf_u_flags.uaf_v_flags.uaf_v_dismail
170 #define uaf$v_nomail uaf_u_flags.uaf_v_flags.uaf_v_nomail
172 #define uaf$v_genpwd uaf_u_flags.uaf_v_flags.uaf_v_genpwd
173 uaf_v_pwd_expired
: 1,
174 #define uaf$v_pwd_expired uaf_u_flags.uaf_v_flags.uaf_v_pwd_expired
175 uaf_v_pwd2_expired
: 1,
176 #define uaf$v_pwd2_expired uaf_u_flags.uaf_v_flags.uaf_v_pwd2_expired
178 #define uaf$v_audit uaf_u_flags.uaf_v_flags.uaf_v_audit
180 #define uaf$v_disreport uaf_u_flags.uaf_v_flags.uaf_v_disreport
181 uaf_v_disreconnect
: 1;
182 #define uaf$v_disreconnect uaf_u_flags.uaf_v_flags.uaf_v_disreconnect
185 #define UAF$S_NETWORK_ACCESS_P 3
186 #define UAF$B_NETWORK_ACCESS_P 472
187 char uaf$b_network_access_p
[UAF$S_NETWORK_ACCESS_P
];
188 #define UAF$S_NETWORK_ACCESS_S 3
189 #define UAF$B_NETWORK_ACCESS_S 475
190 char uaf$b_network_access_s
[UAF$S_NETWORK_ACCESS_S
];
191 #define UAF$S_BATCH_ACCESS_P 3
192 #define UAF$B_BATCH_ACCESS_P 478
193 char uaf$b_batch_access_p
[UAF$S_BATCH_ACCESS_P
];
194 #define UAF$S_BATCH_ACCESS_S 3
195 #define UAF$B_BATCH_ACCESS_S 481
196 char uaf$b_batch_access_s
[UAF$S_BATCH_ACCESS_S
];
197 #define UAF$S_LOCAL_ACCESS_P 3
198 #define UAF$B_LOCAL_ACCESS_P 484
199 char uaf$b_local_access_p
[UAF$S_LOCAL_ACCESS_P
];
200 #define UAF$S_LOCAL_ACCESS_S 3
201 #define UAF$B_LOCAL_ACCESS_S 487
202 char uaf$b_local_access_s
[UAF$S_LOCAL_ACCESS_S
];
203 #define UAF$S_DIALUP_ACCESS_P 3
204 #define UAF$B_DIALUP_ACCESS_P 490
205 char uaf$b_dialup_access_p
[UAF$S_DIALUP_ACCESS_P
];
206 #define UAF$S_DIALUP_ACCESS_S 3
207 #define UAF$B_DIALUP_ACCESS_S 493
208 char uaf$b_dialup_access_s
[UAF$S_DIALUP_ACCESS_S
];
209 #define UAF$S_REMOTE_ACCESS_P 3
210 #define UAF$B_REMOTE_ACCESS_P 496
211 char uaf$b_remote_access_p
[UAF$S_REMOTE_ACCESS_P
];
212 #define UAF$S_REMOTE_ACCESS_S 3
213 #define UAF$B_REMOTE_ACCESS_S 499
214 char uaf$b_remote_access_s
[UAF$S_REMOTE_ACCESS_S
];
215 #define UAF$B_PRIMEDAYS 514
216 #define UAF$V_MONDAY 0
217 #define UAF$V_TUESDAY 1
218 #define UAF$V_WEDNESDAY 2
219 #define UAF$V_THURSDAY 3
220 #define UAF$V_FRIDAY 4
221 #define UAF$V_SATURDAY 5
222 #define UAF$V_SUNDAY 6
224 unsigned char uaf_b_primedays
;
225 #define uaf$b_primedays uaf_u_primedays.uaf_b_primedays
228 #define uaf$v_monday uaf_u_primedays.uaf_v_monday
230 #define uaf$v_tuesday uaf_u_primedays.uaf_v_tuesday
232 #define uaf$v_wednesday uaf_u_primedays.uaf_v_wednesday
234 #define uaf$v_thursday uaf_u_primedays.uaf_v_thursday
236 #define uaf$v_friday uaf_u_primedays.uaf_v_friday
238 #define uaf$v_saturday uaf_u_primedays.uaf_v_saturday
240 #define uaf$v_sunday uaf_u_primedays.uaf_v_sunday
242 #define UAF$B_PRI 516
244 #define UAF$B_QUEPRI 517
246 #define UAF$W_MAXJOBS 518
248 #define UAF$W_MAXACCTJOBS 520
249 short uaf$w_maxacctjobs
;
250 #define UAF$W_MAXDETACH 522
251 short uaf$w_maxdetach
;
252 #define UAF$W_PRCCNT 524
254 #define UAF$W_BIOLM 526
256 #define UAF$W_DIOLM 528
258 #define UAF$W_TQCNT 530
260 #define UAF$W_ASTLM 532
262 #define UAF$W_ENQLM 534
264 #define UAF$W_FILLM 536
266 #define UAF$W_SHRFILLM 538
267 short uaf$w_shrfillm
;
268 #define UAF$L_WSQUOTA 540
270 #define UAF$L_DFWSCNT 544
272 #define UAF$L_WSEXTENT 548
274 #define UAF$L_PGFLQUOTA 552
275 long uaf$l_pgflquota
;
276 #define UAF$L_CPUTIM 556
278 #define UAF$L_BYTLM 560
280 #define UAF$L_PBYTLM 564
282 #define UAF$L_JTQUOTA 568
284 #define UAF$W_PROXY_LIM 572
285 short uaf$w_proxy_lim
;
286 #define UAF$W_PROXIES 574
288 #define UAF$W_ACCOUNT_LIM 576
289 short uaf$w_account_lim
;
290 #define UAF$W_ACCOUNTS 578
291 short uaf$w_accounts
;
292 char uaf$b_fixed
[UAF$C_FIXED
- UAF$W_ACCOUNTS
+ 2];
293 char uaf$b_usrdata
[UAF$C_LENGTH
- UAF$C_FIXED
];
296 #endif /* not UAF$K_LENGTH */