/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:05 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFAE.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $DMTDEF ***/ #ifndef __DMTDEF_LOADED #define __DMTDEF_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 /* */ /* FLAG BITS FOR THE $DISMOU (DISMOUNT) SYSTEM SERVICE. */ /* */ #define DMT$M_NOUNLOAD 0x1 #define DMT$M_UNIT 0x2 #define DMT$M_ABORT 0x4 #define DMT$M_CLUSTER 0x8 #define DMT$M_UNLOAD 0x10 #define DMT$M_OVR_CHECKS 0x20 #define DMT$M_CHECK_ONLY 0x40 #define DMT$M_REMOTE 0x80 #define DMT$M_MINICOPY_REQUIRED 0x100 #define DMT$M_MINICOPY_OPTIONAL 0x200 #define DMT$M_FORCE 0x400 #ifdef __NEW_STARLET typedef union _dmtdef { __struct { unsigned dmt$v_nounload : 1; /* DO NOT UNLOAD (SPIN DOWN) THE VOLUME */ unsigned dmt$v_unit : 1; /* DISMOUNT ONLY THE SPECIFIED VOLUME */ unsigned dmt$v_abort : 1; /* FORCED DISMOUNT */ unsigned dmt$v_cluster : 1; /* CLUSTER-WIDE DISMOUNT */ unsigned dmt$v_unload : 1; /* EXPLICIT UNLOAD (OVERRIDE UCB$x_UNLOAD) */ unsigned dmt$v_ovr_checks : 1; /* OVERRIDE OPEN FILE CHECKS */ unsigned dmt$v_check_only : 1; /* CHECK ONLY FOR OPEN FILES - DON'T DISMOUNT */ unsigned dmt$v_remote : 1; /* CURRENT DISMOUNTER IS REMOTE WITH RESPECT TO ORIGINATOR */ unsigned dmt$v_minicopy_required : 1; /* BITMAP REQUIRED */ unsigned dmt$v_minicopy_optional : 1; /* BITMAP OPTIONAL */ unsigned dmt$v_force : 1; /* FORCE dismount of SSM */ unsigned dmt$v_fill_113_ : 5; } dmt$r_dmtdef_bits; } DMTDEF; #if !defined(__VAXC) #define dmt$v_nounload dmt$r_dmtdef_bits.dmt$v_nounload #define dmt$v_unit dmt$r_dmtdef_bits.dmt$v_unit #define dmt$v_abort dmt$r_dmtdef_bits.dmt$v_abort #define dmt$v_cluster dmt$r_dmtdef_bits.dmt$v_cluster #define dmt$v_unload dmt$r_dmtdef_bits.dmt$v_unload #define dmt$v_ovr_checks dmt$r_dmtdef_bits.dmt$v_ovr_checks #define dmt$v_check_only dmt$r_dmtdef_bits.dmt$v_check_only #define dmt$v_remote dmt$r_dmtdef_bits.dmt$v_remote #define dmt$v_minicopy_required dmt$r_dmtdef_bits.dmt$v_minicopy_required #define dmt$v_minicopy_optional dmt$r_dmtdef_bits.dmt$v_minicopy_optional #define dmt$v_force dmt$r_dmtdef_bits.dmt$v_force #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union dmtdef { __struct { unsigned dmt$v_nounload : 1; /* DO NOT UNLOAD (SPIN DOWN) THE VOLUME */ unsigned dmt$v_unit : 1; /* DISMOUNT ONLY THE SPECIFIED VOLUME */ unsigned dmt$v_abort : 1; /* FORCED DISMOUNT */ unsigned dmt$v_cluster : 1; /* CLUSTER-WIDE DISMOUNT */ unsigned dmt$v_unload : 1; /* EXPLICIT UNLOAD (OVERRIDE UCB$x_UNLOAD) */ unsigned dmt$v_ovr_checks : 1; /* OVERRIDE OPEN FILE CHECKS */ unsigned dmt$v_check_only : 1; /* CHECK ONLY FOR OPEN FILES - DON'T DISMOUNT */ unsigned dmt$v_remote : 1; /* CURRENT DISMOUNTER IS REMOTE WITH RESPECT TO ORIGINATOR */ unsigned dmt$v_minicopy_required : 1; /* BITMAP REQUIRED */ unsigned dmt$v_minicopy_optional : 1; /* BITMAP OPTIONAL */ unsigned dmt$v_force : 1; /* FORCE dismount of SSM */ unsigned dmt$v_fill_113_ : 5; } dmt$r_dmtdef_bits; } ; #if !defined(__VAXC) #define dmt$v_nounload dmt$r_dmtdef_bits.dmt$v_nounload #define dmt$v_unit dmt$r_dmtdef_bits.dmt$v_unit #define dmt$v_abort dmt$r_dmtdef_bits.dmt$v_abort #define dmt$v_cluster dmt$r_dmtdef_bits.dmt$v_cluster #define dmt$v_unload dmt$r_dmtdef_bits.dmt$v_unload #define dmt$v_ovr_checks dmt$r_dmtdef_bits.dmt$v_ovr_checks #define dmt$v_check_only dmt$r_dmtdef_bits.dmt$v_check_only #define dmt$v_remote dmt$r_dmtdef_bits.dmt$v_remote #define dmt$v_minicopy_required dmt$r_dmtdef_bits.dmt$v_minicopy_required #define dmt$v_minicopy_optional dmt$r_dmtdef_bits.dmt$v_minicopy_optional #define dmt$v_force dmt$r_dmtdef_bits.dmt$v_force #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #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 /* __DMTDEF_LOADED */