/**/ /***************************************************************************/ /** **/ /** © Copyright 2010, Hewlett-Packard Development Company, L.P. **/ /** **/ /** Confidential computer software. Valid license from HP and/or **/ /** its subsidiaries required for possession, use, or copying. **/ /** **/ /** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, **/ /** Computer Software Documentation, and Technical Data for Commercial **/ /** Items are licensed to the U.S. Government under vendor's standard **/ /** commercial license. **/ /** **/ /** Neither HP nor any of its subsidiaries shall be liable for technical **/ /** or editorial errors or omissions contained herein. The information **/ /** in this document is provided "as is" without warranty of any kind and **/ /** is subject to change without notice. The warranties for HP products **/ /** are set forth in the express limited warranty statements accompanying **/ /** such products. Nothing herein should be construed as constituting an **/ /** additional warranty. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:27:11 by OpenVMS SDL EV3-3 */ /* Source: 06-FEB-1997 09:29:18 $1$DGA7274:[LIB_H.SRC]DALDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $DALDEF ***/ #ifndef __DALDEF_LOADED #define __DALDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /*+ */ /* DAL - Device Allocation Lock (value block contents) */ /* */ /* This structure defines the contents of the lock value block for a */ /* device allocation lock. */ /*- */ #define DAL$M_NOTFIRST_MNT 0x1 #define DAL$M_FOREIGN 0x2 #define DAL$M_GROUP 0x4 #define DAL$M_SYSTEM 0x8 #define DAL$M_WRITE 0x10 #define DAL$M_NOQUOTA 0x20 #define DAL$M_OVR_PROT 0x40 #define DAL$M_OVR_OWNUIC 0x80 #define DAL$M_NOINTERLOCK 0x100 #define DAL$M_SHADOW_MBR 0x200 #define DAL$M_POOL_MBR 0x400 #define DAL$S_DALDEF 16 typedef struct _dal { __union { unsigned short int dal$w_flags; /* Device usage flags: */ __struct { unsigned dal$v_notfirst_mnt : 1; /* not first time device mounted. */ unsigned dal$v_foreign : 1; /* device mounted /FOREIGN */ unsigned dal$v_group : 1; /* device mounted /GROUP */ unsigned dal$v_system : 1; /* device mounted /SYSTEM */ unsigned dal$v_write : 1; /* write access allowed */ unsigned dal$v_noquota : 1; /* quota checking disabled */ unsigned dal$v_ovr_prot : 1; /* override protection */ unsigned dal$v_ovr_ownuic : 1; /* override volume ownership */ unsigned dal$v_nointerlock : 1; /* access NOT VAXcluster interlocked */ unsigned dal$v_shadow_mbr : 1; /* shadow set member */ unsigned dal$v_pool_mbr : 1; /* snapshot-capable disk pool member */ unsigned dal$v_fill_2_ : 5; } dal$r_fill_1_; } dal$r_fill_0_; unsigned short int dal$w_protection; /* Volume protection */ unsigned int dal$l_owner_uic; /* Volume owner UIC */ unsigned short int dal$w_first_mounter_group; /* UIC group of first mounter */ unsigned short int dal$w_fill_1; /* Not used */ unsigned int dal$l_volid; /* Volume identifier hash */ } DAL; #if !defined(__VAXC) #define dal$w_flags dal$r_fill_0_.dal$w_flags #define dal$v_notfirst_mnt dal$r_fill_0_.dal$r_fill_1_.dal$v_notfirst_mnt #define dal$v_foreign dal$r_fill_0_.dal$r_fill_1_.dal$v_foreign #define dal$v_group dal$r_fill_0_.dal$r_fill_1_.dal$v_group #define dal$v_system dal$r_fill_0_.dal$r_fill_1_.dal$v_system #define dal$v_write dal$r_fill_0_.dal$r_fill_1_.dal$v_write #define dal$v_noquota dal$r_fill_0_.dal$r_fill_1_.dal$v_noquota #define dal$v_ovr_prot dal$r_fill_0_.dal$r_fill_1_.dal$v_ovr_prot #define dal$v_ovr_ownuic dal$r_fill_0_.dal$r_fill_1_.dal$v_ovr_ownuic #define dal$v_nointerlock dal$r_fill_0_.dal$r_fill_1_.dal$v_nointerlock #define dal$v_shadow_mbr dal$r_fill_0_.dal$r_fill_1_.dal$v_shadow_mbr #define dal$v_pool_mbr dal$r_fill_0_.dal$r_fill_1_.dal$v_pool_mbr #endif /* #if !defined(__VAXC) */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __DALDEF_LOADED */