1 /* GNU Emacs VMS UAF definition file.
2 Copyright (C) 1986, 2001, 2002, 2003, 2004, 2005,
3 2006, 2007, 2008 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 3 of the License, or
10 (at your option) any later version.
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. If not, see <http://www.gnu.org/licenses/>. */
21 * User Authorization File record formats
26 #define UAF$C_USER_ID 1
27 #define UAF$C_VERSION1 1
28 #define UAF$C_KEYED_PART 52
31 #define UAF$C_PURDY_V 2
32 #define UAF$K_FIXED 644
33 #define UAF$C_FIXED 644
34 #define UAF$K_LENGTH 1412
35 #define UAF$C_LENGTH 1412
36 #define UAF$S_UAFDEF 1412
39 #define UAF$B_VERSION 1
41 #define UAF$W_USRDATOFF 2
42 short uaf$w_usrdatoff
;
43 #define UAF$S_USERNAME 32
44 #define UAF$T_USERNAME 4
45 #define UAF$T_USERNAME_TAG 35
46 char uaf$t_username
[UAF$S_USERNAME
];
52 #define uaf$l_uic uaf_u_uic.uaf_l_uic
56 #define uaf$w_mem uaf_u_uic.uaf_u_mem_grp.uaf_w_mem
57 #define uaf$w_grp uaf_u_uic.uaf_u_mem_grp.uaf_w_grp
60 #define UAF$L_SUB_ID 40
62 #define UAF$S_PARENT_ID 8
63 #define UAF$Q_PARENT_ID 44
64 char uaf$q_parent_id
[UAF$S_PARENT_ID
];
65 #define UAF$S_ACCOUNT 32
66 #define UAF$T_ACCOUNT 52
67 char uaf$t_account
[UAF$S_ACCOUNT
];
68 #define UAF$S_OWNER 32
69 #define UAF$T_OWNER 84
70 char uaf$t_owner
[UAF$S_OWNER
];
71 #define UAF$S_DEFDEV 32
72 #define UAF$T_DEFDEV 116
73 char uaf$t_defdev
[UAF$S_DEFDEV
];
74 #define UAF$S_DEFDIR 64
75 #define UAF$T_DEFDIR 148
76 char uaf$t_defdir
[UAF$S_DEFDIR
];
77 #define UAF$S_LGICMD 64
78 #define UAF$T_LGICMD 212
79 char uaf$t_lgicmd
[UAF$S_LGICMD
];
80 #define UAF$S_DEFCLI 32
81 #define UAF$T_DEFCLI 276
82 char uaf$t_defcli
[UAF$S_DEFCLI
];
83 #define UAF$S_CLITABLES 32
84 #define UAF$T_CLITABLES 308
85 char uaf$t_clitables
[UAF$S_CLITABLES
];
89 char uaf$q_pwd
[UAF$S_PWD
];
90 #define uaf$l_pwd uaf$q_pwd[0]
92 #define UAF$Q_PWD2 348
93 char uaf$q_pwd2
[UAF$S_PWD2
];
94 #define UAF$W_LOGFAILS 356
96 #define UAF$W_SALT 358
98 #define UAF$B_ENCRYPT 360
100 #define UAF$B_ENCRYPT2 361
102 #define UAF$B_PWD_LENGTH 362
103 char uaf$b_pwd_length
;
104 #define UAF$S_EXPIRATION 8
105 #define UAF$Q_EXPIRATION 364
106 char uaf$q_expiration
[UAF$S_EXPIRATION
];
107 #define UAF$S_PWD_LIFETIME 8
108 #define UAF$Q_PWD_LIFETIME 372
109 char uaf$q_pwd_lifetime
[UAF$S_PWD_LIFETIME
];
110 #define UAF$S_PWD_DATE 8
111 #define UAF$Q_PWD_DATE 380
112 char uaf$q_pwd_date
[UAF$S_PWD_DATE
];
113 #define UAF$S_PWD2_DATE 8
114 #define UAF$Q_PWD2_DATE 388
115 char uaf$q_pwd2_date
[UAF$S_PWD2_DATE
];
116 #define UAF$S_LASTLOGIN_I 8
117 #define UAF$Q_LASTLOGIN_I 396
118 char uaf$q_lastlogin_i
[UAF$S_LASTLOGIN_I
];
119 #define UAF$S_LASTLOGIN_N 8
120 #define UAF$Q_LASTLOGIN_N 404
121 char uaf$q_lastlogin_n
[UAF$S_LASTLOGIN_N
];
123 #define UAF$Q_PRIV 412
124 char uaf$q_priv
[UAF$S_PRIV
];
125 #define UAF$S_DEF_PRIV 8
126 #define UAF$Q_DEF_PRIV 420
127 char uaf$q_def_priv
[UAF$S_DEF_PRIV
];
128 #define UAF$S_MIN_CLASS 20
129 #define UAF$R_MIN_CLASS 428
130 char uaf$r_min_class
[UAF$S_MIN_CLASS
];
131 #define UAF$S_MAX_CLASS 20
132 #define UAF$R_MAX_CLASS 448
133 char uaf$r_max_class
[UAF$S_MAX_CLASS
];
134 #define UAF$L_FLAGS 468
135 #define UAF$V_DISCTLY 0
136 #define UAF$V_DEFCLI 1
137 #define UAF$V_LOCKPWD 2
138 #define UAF$V_CAPTIVE 3
139 #define UAF$V_DISACNT 4
140 #define UAF$V_DISWELCOM 5
141 #define UAF$V_DISMAIL 6
142 #define UAF$V_NOMAIL 7
143 #define UAF$V_GENPWD 8
144 #define UAF$V_PWD_EXPIRED 9
145 #define UAF$V_PWD2_EXPIRED 10
146 #define UAF$V_AUDIT 11
147 #define UAF$V_DISREPORT 12
148 #define UAF$V_DISRECONNECT 13
150 unsigned long uaf_l_flags
;
151 #define uaf$l_flags uaf_u_flags.uaf_l_flags
155 #define uaf$v_disctly uaf_u_flags.uaf_v_flags.uaf_v_disctly
157 #define uaf$v_defcli uaf_u_flags.uaf_v_flags.uaf_v_discli
159 #define uaf$v_lockpwd uaf_u_flags.uaf_v_flags.uaf_v_lockpwd
161 #define uaf$v_captive uaf_u_flags.uaf_v_flags.uaf_v_captive
163 #define uaf$v_disacnt uaf_u_flags.uaf_v_flags.uaf_v_disacnt
165 #define uaf$v_diswelcom uaf_u_flags.uaf_v_flags.uaf_v_diswelcom
167 #define uaf$v_dismail uaf_u_flags.uaf_v_flags.uaf_v_dismail
169 #define uaf$v_nomail uaf_u_flags.uaf_v_flags.uaf_v_nomail
171 #define uaf$v_genpwd uaf_u_flags.uaf_v_flags.uaf_v_genpwd
172 uaf_v_pwd_expired
: 1,
173 #define uaf$v_pwd_expired uaf_u_flags.uaf_v_flags.uaf_v_pwd_expired
174 uaf_v_pwd2_expired
: 1,
175 #define uaf$v_pwd2_expired uaf_u_flags.uaf_v_flags.uaf_v_pwd2_expired
177 #define uaf$v_audit uaf_u_flags.uaf_v_flags.uaf_v_audit
179 #define uaf$v_disreport uaf_u_flags.uaf_v_flags.uaf_v_disreport
180 uaf_v_disreconnect
: 1;
181 #define uaf$v_disreconnect uaf_u_flags.uaf_v_flags.uaf_v_disreconnect
184 #define UAF$S_NETWORK_ACCESS_P 3
185 #define UAF$B_NETWORK_ACCESS_P 472
186 char uaf$b_network_access_p
[UAF$S_NETWORK_ACCESS_P
];
187 #define UAF$S_NETWORK_ACCESS_S 3
188 #define UAF$B_NETWORK_ACCESS_S 475
189 char uaf$b_network_access_s
[UAF$S_NETWORK_ACCESS_S
];
190 #define UAF$S_BATCH_ACCESS_P 3
191 #define UAF$B_BATCH_ACCESS_P 478
192 char uaf$b_batch_access_p
[UAF$S_BATCH_ACCESS_P
];
193 #define UAF$S_BATCH_ACCESS_S 3
194 #define UAF$B_BATCH_ACCESS_S 481
195 char uaf$b_batch_access_s
[UAF$S_BATCH_ACCESS_S
];
196 #define UAF$S_LOCAL_ACCESS_P 3
197 #define UAF$B_LOCAL_ACCESS_P 484
198 char uaf$b_local_access_p
[UAF$S_LOCAL_ACCESS_P
];
199 #define UAF$S_LOCAL_ACCESS_S 3
200 #define UAF$B_LOCAL_ACCESS_S 487
201 char uaf$b_local_access_s
[UAF$S_LOCAL_ACCESS_S
];
202 #define UAF$S_DIALUP_ACCESS_P 3
203 #define UAF$B_DIALUP_ACCESS_P 490
204 char uaf$b_dialup_access_p
[UAF$S_DIALUP_ACCESS_P
];
205 #define UAF$S_DIALUP_ACCESS_S 3
206 #define UAF$B_DIALUP_ACCESS_S 493
207 char uaf$b_dialup_access_s
[UAF$S_DIALUP_ACCESS_S
];
208 #define UAF$S_REMOTE_ACCESS_P 3
209 #define UAF$B_REMOTE_ACCESS_P 496
210 char uaf$b_remote_access_p
[UAF$S_REMOTE_ACCESS_P
];
211 #define UAF$S_REMOTE_ACCESS_S 3
212 #define UAF$B_REMOTE_ACCESS_S 499
213 char uaf$b_remote_access_s
[UAF$S_REMOTE_ACCESS_S
];
214 #define UAF$B_PRIMEDAYS 514
215 #define UAF$V_MONDAY 0
216 #define UAF$V_TUESDAY 1
217 #define UAF$V_WEDNESDAY 2
218 #define UAF$V_THURSDAY 3
219 #define UAF$V_FRIDAY 4
220 #define UAF$V_SATURDAY 5
221 #define UAF$V_SUNDAY 6
223 unsigned char uaf_b_primedays
;
224 #define uaf$b_primedays uaf_u_primedays.uaf_b_primedays
227 #define uaf$v_monday uaf_u_primedays.uaf_v_monday
229 #define uaf$v_tuesday uaf_u_primedays.uaf_v_tuesday
231 #define uaf$v_wednesday uaf_u_primedays.uaf_v_wednesday
233 #define uaf$v_thursday uaf_u_primedays.uaf_v_thursday
235 #define uaf$v_friday uaf_u_primedays.uaf_v_friday
237 #define uaf$v_saturday uaf_u_primedays.uaf_v_saturday
239 #define uaf$v_sunday uaf_u_primedays.uaf_v_sunday
241 #define UAF$B_PRI 516
243 #define UAF$B_QUEPRI 517
245 #define UAF$W_MAXJOBS 518
247 #define UAF$W_MAXACCTJOBS 520
248 short uaf$w_maxacctjobs
;
249 #define UAF$W_MAXDETACH 522
250 short uaf$w_maxdetach
;
251 #define UAF$W_PRCCNT 524
253 #define UAF$W_BIOLM 526
255 #define UAF$W_DIOLM 528
257 #define UAF$W_TQCNT 530
259 #define UAF$W_ASTLM 532
261 #define UAF$W_ENQLM 534
263 #define UAF$W_FILLM 536
265 #define UAF$W_SHRFILLM 538
266 short uaf$w_shrfillm
;
267 #define UAF$L_WSQUOTA 540
269 #define UAF$L_DFWSCNT 544
271 #define UAF$L_WSEXTENT 548
273 #define UAF$L_PGFLQUOTA 552
274 long uaf$l_pgflquota
;
275 #define UAF$L_CPUTIM 556
277 #define UAF$L_BYTLM 560
279 #define UAF$L_PBYTLM 564
281 #define UAF$L_JTQUOTA 568
283 #define UAF$W_PROXY_LIM 572
284 short uaf$w_proxy_lim
;
285 #define UAF$W_PROXIES 574
287 #define UAF$W_ACCOUNT_LIM 576
288 short uaf$w_account_lim
;
289 #define UAF$W_ACCOUNTS 578
290 short uaf$w_accounts
;
291 char uaf$b_fixed
[UAF$C_FIXED
- UAF$W_ACCOUNTS
+ 2];
292 char uaf$b_usrdata
[UAF$C_LENGTH
- UAF$C_FIXED
];
295 #endif /* not UAF$K_LENGTH */
297 /* arch-tag: f95d73be-b0bf-46b7-adf7-89ce8846b062
298 (do not change this comment) */