/**/ /***************************************************************************/ /** **/ /** © 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:06 by OpenVMS SDL EV3-3 */ /* Source: 31-AUG-1999 14:39:09 $1$DGA7274:[LIB_H.SRC]MTLDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $MTLDEF ***/ #ifndef __MTLDEF_LOADED #define __MTLDEF_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 /*+ */ /* MOUNTED VOLUME LIST ENTRY. ONE SUCH ENTRY APPEARS IN THE PROCESS MOUNTED */ /* VOLUME LIST FOR EACH VOLUME MOUNTED BY THE PROCESS AS /SHARE OR /NOSHARE. */ /* IN ADDITION, EACH VOLUME MOUNTED /SYSTEM OR /GROUP HAS AN ENTRY IN THE */ /* SYSTEM WIDE MOUNTED VOLUME LIST. */ /*- */ #define MTL$K_LENGTH 32 /* LENGTH OF STRUCTURE */ #define MTL$C_LENGTH 32 /* LENGTH OF STRUCTURE */ #define MTL$S_MTLDEF 32 #ifdef __cplusplus /* Define structure prototypes */ struct _ucb; #endif /* #ifdef __cplusplus */ typedef struct _mtl { struct _mtl *mtl$l_mtlfl; /* FORWARD LIST POINTER */ struct _mtl *mtl$l_mtlbl; /* BACK LIST POINTER */ unsigned short int mtl$w_size; /* STRUCTURE SIZE IN BYTES */ unsigned char mtl$b_type; /* STRUCTURE TYPE CODE */ __union { unsigned char mtl$b_status; /* STATUS BYTE */ __struct { unsigned mtl$v_volset : 1; /* ENTRY IS FOR A VOLUME SET */ unsigned mtl$v_rvtvcb : 1; /* Entry is for a RVT/VCB volume set */ unsigned mtl$v_fill_0_ : 6; } mtl$r_status_bits; } mtl$r_status_overlay; struct _ucb *mtl$l_ucb; /* POINTER TO DEVICE UCB */ void *mtl$l_logname; /* POINTER TO ASSOCIATED LOGICAL NAME */ void *mtl$l_lognam2; /* POINTER TO ALTERNATE LOGICAL NAME */ int mtldef$$_fill_1; /* RESERVED LONGWORD */ unsigned int mtl$l_uic; /* Owner UIC */ } MTL; #if !defined(__VAXC) #define mtl$b_status mtl$r_status_overlay.mtl$b_status #define mtl$v_volset mtl$r_status_overlay.mtl$r_status_bits.mtl$v_volset #define mtl$v_rvtvcb mtl$r_status_overlay.mtl$r_status_bits.mtl$v_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 /* __MTLDEF_LOADED */