1 /* GNU Emacs VMS UAF definition file.
2 Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005,
3 2006, 2007 Free Software Foundation, Inc.
5 This file is part of GNU Emacs.
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
9 the Free Software Foundation; either version 2, or (at your option)
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.
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
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
23 * User Authorization File record formats
28 #define UAF$C_USER_ID 1
29 #define UAF$C_VERSION1 1
30 #define UAF$C_KEYED_PART 52
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
41 #define UAF$B_VERSION 1
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
];
54 #define uaf$l_uic uaf_u_uic.uaf_l_uic
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
62 #define UAF$L_SUB_ID 40
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
];
91 char uaf$q_pwd
[UAF$S_PWD
];
92 #define uaf$l_pwd uaf$q_pwd[0]
94 #define UAF$Q_PWD2 348
95 char uaf$q_pwd2
[UAF$S_PWD2
];
96 #define UAF$W_LOGFAILS 356
98 #define UAF$W_SALT 358
100 #define UAF$B_ENCRYPT 360
102 #define UAF$B_ENCRYPT2 361
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
];
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
152 unsigned long uaf_l_flags
;
153 #define uaf$l_flags uaf_u_flags.uaf_l_flags
157 #define uaf$v_disctly uaf_u_flags.uaf_v_flags.uaf_v_disctly
159 #define uaf$v_defcli uaf_u_flags.uaf_v_flags.uaf_v_discli
161 #define uaf$v_lockpwd uaf_u_flags.uaf_v_flags.uaf_v_lockpwd
163 #define uaf$v_captive uaf_u_flags.uaf_v_flags.uaf_v_captive
165 #define uaf$v_disacnt uaf_u_flags.uaf_v_flags.uaf_v_disacnt
167 #define uaf$v_diswelcom uaf_u_flags.uaf_v_flags.uaf_v_diswelcom
169 #define uaf$v_dismail uaf_u_flags.uaf_v_flags.uaf_v_dismail
171 #define uaf$v_nomail uaf_u_flags.uaf_v_flags.uaf_v_nomail
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
179 #define uaf$v_audit uaf_u_flags.uaf_v_flags.uaf_v_audit
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
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
225 unsigned char uaf_b_primedays
;
226 #define uaf$b_primedays uaf_u_primedays.uaf_b_primedays
229 #define uaf$v_monday uaf_u_primedays.uaf_v_monday
231 #define uaf$v_tuesday uaf_u_primedays.uaf_v_tuesday
233 #define uaf$v_wednesday uaf_u_primedays.uaf_v_wednesday
235 #define uaf$v_thursday uaf_u_primedays.uaf_v_thursday
237 #define uaf$v_friday uaf_u_primedays.uaf_v_friday
239 #define uaf$v_saturday uaf_u_primedays.uaf_v_saturday
241 #define uaf$v_sunday uaf_u_primedays.uaf_v_sunday
243 #define UAF$B_PRI 516
245 #define UAF$B_QUEPRI 517
247 #define UAF$W_MAXJOBS 518
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
255 #define UAF$W_BIOLM 526
257 #define UAF$W_DIOLM 528
259 #define UAF$W_TQCNT 530
261 #define UAF$W_ASTLM 532
263 #define UAF$W_ENQLM 534
265 #define UAF$W_FILLM 536
267 #define UAF$W_SHRFILLM 538
268 short uaf$w_shrfillm
;
269 #define UAF$L_WSQUOTA 540
271 #define UAF$L_DFWSCNT 544
273 #define UAF$L_WSEXTENT 548
275 #define UAF$L_PGFLQUOTA 552
276 long uaf$l_pgflquota
;
277 #define UAF$L_CPUTIM 556
279 #define UAF$L_BYTLM 560
281 #define UAF$L_PBYTLM 564
283 #define UAF$L_JTQUOTA 568
285 #define UAF$W_PROXY_LIM 572
286 short uaf$w_proxy_lim
;
287 #define UAF$W_PROXIES 574
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
];
297 #endif /* not UAF$K_LENGTH */
299 /* arch-tag: f95d73be-b0bf-46b7-adf7-89ce8846b062
300 (do not change this comment) */