/**/ /***************************************************************************/ /** **/ /** © 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:26:18 by OpenVMS SDL EV3-3 */ /* Source: 13-DEC-1994 16:07:23 $1$DGA7274:[LIB_H.SRC]RVTDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $RVTDEF ***/ #ifndef __RVTDEF_LOADED #define __RVTDEF_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 /*+ */ /* RVT - RELATIVE VOLUME TABLE */ /* */ /* A RELATIVE VOLUME MAPPING TABLE IS REQUIRED FOR EVERY MULTIVOLUME */ /* STRUCTURE THAT IS MOUNTED IN A SYSTEM. */ /*- */ #define RVT$K_LENGTH 88 /* LENGTH OF STANDARD RVT */ #define RVT$C_LENGTH 88 /* LENGTH OF STANDARD RVT */ #define RVT$C_UCB_POINTER 0 /* ADDRESSES OF THE RESPECTIVE UCB'S */ #define RVT$C_PHYSICAL_VOLUME 1 /* Physical volume number */ #define RVT$C_VOLUME_LOCK_ID 2 /* Volume Lock ID */ #define RVT$C_VOLUME_IDENTIFIER 3 /* Volume Identifier */ /* Number of overlay elements */ #define RVT$C_RVTVCB 4 /* Number of elements (0 based) */ #define RVT$C_MINSIZE 18 /* MINIMUM NUMBER OF ENTRIES TO ALLOCATE */ #define RVT$S_RVTDEF 88 /* Old size name - synonym */ #ifdef __cplusplus /* Define structure prototypes */ struct _ucb; #endif /* #ifdef __cplusplus */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif typedef struct _rvt { #pragma __nomember_alignment unsigned int rvt$l_struclkid; /* LOCK ID OF VOLUME SET LOCK. */ unsigned int rvt$l_refc; /* REFERENCE COUNT */ unsigned short int rvt$w_size; /* SIZE OF RVT IN BYTES */ unsigned char rvt$b_type; /* STRUCTURE TYPE OF RVT */ unsigned char rvt$b_nvols; /* NUMBER OF VOLUMES IN SET */ char rvt$t_strucname [12]; /* STRUCTURE (VOLUME SET) NAME */ char rvt$t_vlslcknam [12]; /* Volume set lock name. */ unsigned int rvt$l_blockid; /* Blocking lock id. */ unsigned char rvt$b_acb [36]; /* ACB for blocking ast. */ unsigned int rvt$l_trans; /* Transaction count for volume sets */ unsigned int rvt$l_activity; /* ACTIVITY COUNT/FLAG */ __union { struct _ucb *rvt$l_ucblst; /* Addresses of the respective UCB'S */ void *rvt$a_rvtvcb; /* Start of RVT/VCB fields for Files-11 C/D */ } rvt$r_rvt_overlay; /* Files-11 C/D RVT/VCB datums */ } RVT; #if !defined(__VAXC) #define rvt$l_ucblst rvt$r_rvt_overlay.rvt$l_ucblst #define rvt$a_rvtvcb rvt$r_rvt_overlay.rvt$a_rvtvcb #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 /* __RVTDEF_LOADED */