|
|
1.1 ! root 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: ! 6: GNU Emacs is distributed in the hope that it will be useful, ! 7: but WITHOUT ANY WARRANTY. No author or distributor ! 8: accepts responsibility to anyone for the consequences of using it ! 9: or for whether it serves any particular purpose or works at all, ! 10: unless he says so in writing. Refer to the GNU Emacs General Public ! 11: License for full details. ! 12: ! 13: Everyone is granted permission to copy, modify and redistribute ! 14: GNU Emacs, but only under the conditions described in the ! 15: GNU Emacs General Public License. A copy of this license is ! 16: supposed to have been given to you along with GNU Emacs so you ! 17: can know your rights and responsibilities. It should be in a ! 18: file named COPYING. Among other things, the copyright notice ! 19: and this notice must be preserved on all copies. */ ! 20: ! 21: /* ! 22: * User Authorization File record formats ! 23: */ ! 24: #ifndef UAF$K_LENGTH ! 25: ! 26: struct UAF { ! 27: #define UAF$C_USER_ID 1 ! 28: #define UAF$C_VERSION1 1 ! 29: #define UAF$C_KEYED_PART 52 ! 30: #define UAF$C_AD_II 0 ! 31: #define UAF$C_PURDY 1 ! 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 ! 38: #define UAF$B_RTYPE 0 ! 39: char uaf$b_rtype; ! 40: #define UAF$B_VERSION 1 ! 41: char uaf$b_version; ! 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]; ! 48: #define UAF$L_UIC 36 ! 49: #define UAF$W_MEM 36 ! 50: #define UAF$W_GRP 38 ! 51: union { ! 52: long uaf_l_uic; ! 53: #define uaf$l_uic uaf_u_uic.uaf_l_uic ! 54: struct { ! 55: short uaf_w_mem; ! 56: short uaf_w_grp; ! 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 ! 59: } uaf_u_mem_grp; ! 60: } uaf_u_uic; ! 61: #define UAF$L_SUB_ID 40 ! 62: long uaf$l_sub_id; ! 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]; ! 87: #define UAF$S_PWD 8 ! 88: #define UAF$Q_PWD 340 ! 89: #define UAF$L_PWD 340 ! 90: char uaf$q_pwd[UAF$S_PWD]; ! 91: #define uaf$l_pwd uaf$q_pwd[0] ! 92: #define UAF$S_PWD2 8 ! 93: #define UAF$Q_PWD2 348 ! 94: char uaf$q_pwd2[UAF$S_PWD2]; ! 95: #define UAF$W_LOGFAILS 356 ! 96: short uaf$w_logfails; ! 97: #define UAF$W_SALT 358 ! 98: short uaf$w_salt; ! 99: #define UAF$B_ENCRYPT 360 ! 100: char uaf$b_encrypt; ! 101: #define UAF$B_ENCRYPT2 361 ! 102: char uaf$b_encrypt2; ! 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]; ! 123: #define UAF$S_PRIV 8 ! 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 ! 150: union { ! 151: unsigned long uaf_l_flags; ! 152: #define uaf$l_flags uaf_u_flags.uaf_l_flags ! 153: struct { ! 154: unsigned long ! 155: uaf_v_disctly : 1, ! 156: #define uaf$v_disctly uaf_u_flags.uaf_v_flags.uaf_v_disctly ! 157: uaf_v_defcli : 1, ! 158: #define uaf$v_defcli uaf_u_flags.uaf_v_flags.uaf_v_discli ! 159: uaf_v_lockpwd : 1, ! 160: #define uaf$v_lockpwd uaf_u_flags.uaf_v_flags.uaf_v_lockpwd ! 161: uaf_v_captive : 1, ! 162: #define uaf$v_captive uaf_u_flags.uaf_v_flags.uaf_v_captive ! 163: uaf_v_disacnt : 1, ! 164: #define uaf$v_disacnt uaf_u_flags.uaf_v_flags.uaf_v_disacnt ! 165: uaf_v_diswelcom : 1, ! 166: #define uaf$v_diswelcom uaf_u_flags.uaf_v_flags.uaf_v_diswelcom ! 167: uaf_v_dismail : 1, ! 168: #define uaf$v_dismail uaf_u_flags.uaf_v_flags.uaf_v_dismail ! 169: uaf_v_nomail : 1, ! 170: #define uaf$v_nomail uaf_u_flags.uaf_v_flags.uaf_v_nomail ! 171: uaf_v_genpwd : 1, ! 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 ! 177: uaf_v_audit : 1, ! 178: #define uaf$v_audit uaf_u_flags.uaf_v_flags.uaf_v_audit ! 179: uaf_v_disreport : 1, ! 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 ! 183: } uaf_v_flags; ! 184: } uaf_u_flags; ! 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 ! 223: union { ! 224: unsigned char uaf_b_primedays; ! 225: #define uaf$b_primedays uaf_u_primedays.uaf_b_primedays ! 226: unsigned char ! 227: uaf_v_monday : 1, ! 228: #define uaf$v_monday uaf_u_primedays.uaf_v_monday ! 229: uaf_v_tuesday : 1, ! 230: #define uaf$v_tuesday uaf_u_primedays.uaf_v_tuesday ! 231: uaf_v_wednesday : 1, ! 232: #define uaf$v_wednesday uaf_u_primedays.uaf_v_wednesday ! 233: uaf_v_thursday : 1, ! 234: #define uaf$v_thursday uaf_u_primedays.uaf_v_thrusday ! 235: uaf_v_friday : 1, ! 236: #define uaf$v_friday uaf_u_primedays.uaf_v_friday ! 237: uaf_v_saturday : 1, ! 238: #define uaf$v_saturday uaf_u_primedays.uaf_v_saturday ! 239: uav_v_sunday : 1; ! 240: #define uaf$v_sunday uaf_u_primedays.uaf_v_sunday ! 241: } uaf_u_primedays; ! 242: #define UAF$B_PRI 516 ! 243: char uaf$b_pri; ! 244: #define UAF$B_QUEPRI 517 ! 245: char uaf$b_quepri; ! 246: #define UAF$W_MAXJOBS 518 ! 247: short uaf$w_maxjobs; ! 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 ! 253: short uaf$w_prccnt; ! 254: #define UAF$W_BIOLM 526 ! 255: short uaf$w_biolm; ! 256: #define UAF$W_DIOLM 528 ! 257: short uaf$w_diolm; ! 258: #define UAF$W_TQCNT 530 ! 259: short uaf$w_twcnt; ! 260: #define UAF$W_ASTLM 532 ! 261: short uaf$w_astlm; ! 262: #define UAF$W_ENQLM 534 ! 263: short uaf$w_enqlm; ! 264: #define UAF$W_FILLM 536 ! 265: short uaf$w_fillm; ! 266: #define UAF$W_SHRFILLM 538 ! 267: short uaf$w_shrfillm; ! 268: #define UAF$L_WSQUOTA 540 ! 269: long uaf$l_wsquota; ! 270: #define UAF$L_DFWSCNT 544 ! 271: long uaf$l_dfwscnt; ! 272: #define UAF$L_WSEXTENT 548 ! 273: long uaf$l_wsextent; ! 274: #define UAF$L_PGFLQUOTA 552 ! 275: long uaf$l_pgflquota; ! 276: #define UAF$L_CPUTIM 556 ! 277: long uaf$l_cputim; ! 278: #define UAF$L_BYTLM 560 ! 279: long uaf$l_bytlm; ! 280: #define UAF$L_PBYTLM 564 ! 281: long uaf$l_pbytlm; ! 282: #define UAF$L_JTQUOTA 568 ! 283: long uaf$l_jtquota; ! 284: #define UAF$W_PROXY_LIM 572 ! 285: short uaf$w_proxy_lim; ! 286: #define UAF$W_PROXIES 574 ! 287: short uaf$w_proxies; ! 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]; ! 294: }; ! 295: ! 296: #endif /* not UAF$K_LENGTH */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.