/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:37:53 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:06 _$11$DUA933:[BUILD.SDL]STARDEFAE.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $ARMDEF ***/ #ifndef __ARMDEF_LOADED #define __ARMDEF_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif /*+ */ /* Access Rights Mask longword definitions */ /*- */ #define ARM$M_READ 0x1 #define ARM$M_WRITE 0x2 #define ARM$M_EXECUTE 0x4 #define ARM$M_DELETE 0x8 #define ARM$M_CONTROL 0x10 #define ARM$M_CREATE 0x4 #define ARM$M_LOCK 0x4 #define ARM$M_PHYSICAL 0x4 #define ARM$M_LOGICAL 0x8 #define ARM$M_ASSOCIATE 0x1 #define ARM$M_SUBMIT 0x2 #define ARM$M_MANAGE 0x4 #define ARM$M_USE 0x1 union armdef { __union { int arm$l_file_access; __struct { unsigned arm$v_read : 1; /* Read access */ unsigned arm$v_write : 1; /* Write access */ unsigned arm$v_execute : 1; /* Execute access */ unsigned arm$v_delete : 1; /* Delete access */ unsigned arm$v_control : 1; /* Control access */ unsigned arm$v_fill : 27; /* [LOADSS]SYSACLSRV depends on this being here! */ } arm$r_fill_16; } arm$r_fill_15; __union { int arm$l_volume_access; __struct { unsigned arm$v_v_1 : 1; unsigned arm$v_v_2 : 1; unsigned arm$v_create : 1; /* Create access (volume) */ unsigned arm$v_fill_19 : 5; } arm$r_fill_18; } arm$r_fill_17; __union { int arm$l_rsdm_access; __struct { unsigned arm$v_r_1 : 1; unsigned arm$v_r_2 : 1; unsigned arm$v_lock : 1; /* Lock access (resource domain) */ unsigned arm$v_fill_22 : 5; } arm$r_fill_21; } arm$r_fill_20; __union { int arm$l_device_access; __struct { unsigned arm$v_d_1 : 1; unsigned arm$v_d_2 : 1; unsigned arm$v_physical : 1; /* Physical I/O access (device) */ unsigned arm$v_logical : 1; /* Logical I/O access (device) */ unsigned arm$v_fill_25 : 4; } arm$r_fill_24; } arm$r_fill_23; __union { int arm$l_ceb_access; __struct { unsigned arm$v_associate : 1; /* Associate access (common event cluster) */ unsigned arm$v_fill_28 : 7; } arm$r_fill_27; } arm$r_fill_26; __union { int arm$l_queue_access; __struct { unsigned arm$v_q_1 : 1; unsigned arm$v_submit : 1; /* Submit access (queue) */ unsigned arm$v_manage : 1; /* Manage access (queue) */ unsigned arm$v_fill_31 : 5; } arm$r_fill_30; } arm$r_fill_29; __union { int arm$l_cap_access; __struct { unsigned arm$v_use : 1; /* Use access (capability) */ unsigned arm$v_fill_34 : 7; } arm$r_fill_33; } arm$r_fill_32; } ; #if !defined(__VAXC) && !defined(VAXC) #define arm$v_read arm$r_fill_15.arm$r_fill_16.arm$v_read #define arm$v_write arm$r_fill_15.arm$r_fill_16.arm$v_write #define arm$v_execute arm$r_fill_15.arm$r_fill_16.arm$v_execute #define arm$v_delete arm$r_fill_15.arm$r_fill_16.arm$v_delete #define arm$v_control arm$r_fill_15.arm$r_fill_16.arm$v_control #define arm$v_fill arm$r_fill_15.arm$r_fill_16.arm$v_fill #define arm$v_create arm$r_fill_17.arm$r_fill_18.arm$v_create #define arm$v_lock arm$r_fill_20.arm$r_fill_21.arm$v_lock #define arm$v_physical arm$r_fill_23.arm$r_fill_24.arm$v_physical #define arm$v_logical arm$r_fill_23.arm$r_fill_24.arm$v_logical #define arm$v_associate arm$r_fill_26.arm$r_fill_27.arm$v_associate #define arm$v_submit arm$r_fill_29.arm$r_fill_30.arm$v_submit #define arm$v_manage arm$r_fill_29.arm$r_fill_30.arm$v_manage #define arm$v_use arm$r_fill_32.arm$r_fill_33.arm$v_use #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #ifdef __cplusplus } #endif #pragma standard #endif /* __ARMDEF_LOADED */