Mercurial > emacs
annotate src/uaf.h @ 5020:94de08fd8a7c
(Fnext_single_property_change): Fix missing \n\.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Mon, 15 Nov 1993 06:41:45 +0000 |
| parents | 91d20436874c |
| children | ac7375e60931 |
| rev | line source |
|---|---|
| 5 | 1 /* GNU Emacs VMS UAF definition file. |
| 2 Copyright (C) 1986 Free Software Foundation, Inc. | |
| 3 | |
| 4 This file is part of GNU Emacs. | |
| 5 | |
| 484 | 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 1, or (at your option) | |
| 9 any later version. | |
| 5 | 10 |
| 484 | 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. | |
| 15 | |
| 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, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
| 5 | 19 |
| 20 /* | |
| 21 * User Authorization File record formats | |
| 22 */ | |
| 23 #ifndef UAF$K_LENGTH | |
| 24 | |
| 25 struct UAF { | |
| 26 #define UAF$C_USER_ID 1 | |
| 27 #define UAF$C_VERSION1 1 | |
| 28 #define UAF$C_KEYED_PART 52 | |
| 29 #define UAF$C_AD_II 0 | |
| 30 #define UAF$C_PURDY 1 | |
| 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 | |
| 37 #define UAF$B_RTYPE 0 | |
| 38 char uaf$b_rtype; | |
| 39 #define UAF$B_VERSION 1 | |
| 40 char uaf$b_version; | |
| 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]; | |
| 47 #define UAF$L_UIC 36 | |
| 48 #define UAF$W_MEM 36 | |
| 49 #define UAF$W_GRP 38 | |
| 50 union { | |
| 51 long uaf_l_uic; | |
| 52 #define uaf$l_uic uaf_u_uic.uaf_l_uic | |
| 53 struct { | |
| 54 short uaf_w_mem; | |
| 55 short uaf_w_grp; | |
| 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 | |
| 58 } uaf_u_mem_grp; | |
| 59 } uaf_u_uic; | |
| 60 #define UAF$L_SUB_ID 40 | |
| 61 long uaf$l_sub_id; | |
| 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]; | |
| 86 #define UAF$S_PWD 8 | |
| 87 #define UAF$Q_PWD 340 | |
| 88 #define UAF$L_PWD 340 | |
| 89 char uaf$q_pwd[UAF$S_PWD]; | |
| 90 #define uaf$l_pwd uaf$q_pwd[0] | |
| 91 #define UAF$S_PWD2 8 | |
| 92 #define UAF$Q_PWD2 348 | |
| 93 char uaf$q_pwd2[UAF$S_PWD2]; | |
| 94 #define UAF$W_LOGFAILS 356 | |
| 95 short uaf$w_logfails; | |
| 96 #define UAF$W_SALT 358 | |
| 97 short uaf$w_salt; | |
| 98 #define UAF$B_ENCRYPT 360 | |
| 99 char uaf$b_encrypt; | |
| 100 #define UAF$B_ENCRYPT2 361 | |
| 101 char uaf$b_encrypt2; | |
| 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]; | |
| 122 #define UAF$S_PRIV 8 | |
| 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 | |
| 149 union { | |
| 150 unsigned long uaf_l_flags; | |
| 151 #define uaf$l_flags uaf_u_flags.uaf_l_flags | |
| 152 struct { | |
| 153 unsigned long | |
| 154 uaf_v_disctly : 1, | |
| 155 #define uaf$v_disctly uaf_u_flags.uaf_v_flags.uaf_v_disctly | |
| 156 uaf_v_defcli : 1, | |
| 157 #define uaf$v_defcli uaf_u_flags.uaf_v_flags.uaf_v_discli | |
| 158 uaf_v_lockpwd : 1, | |
| 159 #define uaf$v_lockpwd uaf_u_flags.uaf_v_flags.uaf_v_lockpwd | |
| 160 uaf_v_captive : 1, | |
| 161 #define uaf$v_captive uaf_u_flags.uaf_v_flags.uaf_v_captive | |
| 162 uaf_v_disacnt : 1, | |
| 163 #define uaf$v_disacnt uaf_u_flags.uaf_v_flags.uaf_v_disacnt | |
| 164 uaf_v_diswelcom : 1, | |
| 165 #define uaf$v_diswelcom uaf_u_flags.uaf_v_flags.uaf_v_diswelcom | |
| 166 uaf_v_dismail : 1, | |
| 167 #define uaf$v_dismail uaf_u_flags.uaf_v_flags.uaf_v_dismail | |
| 168 uaf_v_nomail : 1, | |
| 169 #define uaf$v_nomail uaf_u_flags.uaf_v_flags.uaf_v_nomail | |
| 170 uaf_v_genpwd : 1, | |
| 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 | |
| 176 uaf_v_audit : 1, | |
| 177 #define uaf$v_audit uaf_u_flags.uaf_v_flags.uaf_v_audit | |
| 178 uaf_v_disreport : 1, | |
| 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 | |
| 182 } uaf_v_flags; | |
| 183 } uaf_u_flags; | |
| 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 | |
| 222 union { | |
| 223 unsigned char uaf_b_primedays; | |
| 224 #define uaf$b_primedays uaf_u_primedays.uaf_b_primedays | |
| 225 unsigned char | |
| 226 uaf_v_monday : 1, | |
| 227 #define uaf$v_monday uaf_u_primedays.uaf_v_monday | |
| 228 uaf_v_tuesday : 1, | |
| 229 #define uaf$v_tuesday uaf_u_primedays.uaf_v_tuesday | |
| 230 uaf_v_wednesday : 1, | |
| 231 #define uaf$v_wednesday uaf_u_primedays.uaf_v_wednesday | |
| 232 uaf_v_thursday : 1, | |
|
3545
91d20436874c
(uaf$v_thursday): Fix misspelling of "thursday".
Richard M. Stallman <rms@gnu.org>
parents:
484
diff
changeset
|
233 #define uaf$v_thursday uaf_u_primedays.uaf_v_thursday |
| 5 | 234 uaf_v_friday : 1, |
| 235 #define uaf$v_friday uaf_u_primedays.uaf_v_friday | |
| 236 uaf_v_saturday : 1, | |
| 237 #define uaf$v_saturday uaf_u_primedays.uaf_v_saturday | |
| 238 uav_v_sunday : 1; | |
| 239 #define uaf$v_sunday uaf_u_primedays.uaf_v_sunday | |
| 240 } uaf_u_primedays; | |
| 241 #define UAF$B_PRI 516 | |
| 242 char uaf$b_pri; | |
| 243 #define UAF$B_QUEPRI 517 | |
| 244 char uaf$b_quepri; | |
| 245 #define UAF$W_MAXJOBS 518 | |
| 246 short uaf$w_maxjobs; | |
| 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 | |
| 252 short uaf$w_prccnt; | |
| 253 #define UAF$W_BIOLM 526 | |
| 254 short uaf$w_biolm; | |
| 255 #define UAF$W_DIOLM 528 | |
| 256 short uaf$w_diolm; | |
| 257 #define UAF$W_TQCNT 530 | |
| 258 short uaf$w_twcnt; | |
| 259 #define UAF$W_ASTLM 532 | |
| 260 short uaf$w_astlm; | |
| 261 #define UAF$W_ENQLM 534 | |
| 262 short uaf$w_enqlm; | |
| 263 #define UAF$W_FILLM 536 | |
| 264 short uaf$w_fillm; | |
| 265 #define UAF$W_SHRFILLM 538 | |
| 266 short uaf$w_shrfillm; | |
| 267 #define UAF$L_WSQUOTA 540 | |
| 268 long uaf$l_wsquota; | |
| 269 #define UAF$L_DFWSCNT 544 | |
| 270 long uaf$l_dfwscnt; | |
| 271 #define UAF$L_WSEXTENT 548 | |
| 272 long uaf$l_wsextent; | |
| 273 #define UAF$L_PGFLQUOTA 552 | |
| 274 long uaf$l_pgflquota; | |
| 275 #define UAF$L_CPUTIM 556 | |
| 276 long uaf$l_cputim; | |
| 277 #define UAF$L_BYTLM 560 | |
| 278 long uaf$l_bytlm; | |
| 279 #define UAF$L_PBYTLM 564 | |
| 280 long uaf$l_pbytlm; | |
| 281 #define UAF$L_JTQUOTA 568 | |
| 282 long uaf$l_jtquota; | |
| 283 #define UAF$W_PROXY_LIM 572 | |
| 284 short uaf$w_proxy_lim; | |
| 285 #define UAF$W_PROXIES 574 | |
| 286 short uaf$w_proxies; | |
| 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]; | |
| 293 }; | |
| 294 | |
| 295 #endif /* not UAF$K_LENGTH */ |
