/***************************************************************************/ /** **/ /** HPE CONFIDENTIAL. This software is confidential proprietary software **/ /** licensed by Hewlett-Packard Enterprise Development, LP, and is not **/ /** authorized to be used, duplicated OR disclosed to anyone without the **/ /** prior written permission of HPE. **/ /** © 2023 Copyright Hewlett-Packard Enterprise Development, LP **/ /** **/ /** VMS SOFTWARE, INC. CONFIDENTIAL. This software is confidential **/ /** proprietary software licensed by VMS Software, Inc., and is not **/ /** authorized to be used, duplicated or disclosed to anyone without **/ /** the prior written permission of VMS Software, Inc. **/ /** © 2023 Copyright VMS Software, Inc. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 9-Nov-2023 12:06:52 by OpenVMS SDL V3.7 */ /* Source: 18-MAY-1994 16:11:43 $1$DGA8345:[LIB_H.SRC]TASTDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $TASTDEF ***/ #ifndef __TASTDEF_LOADED #define __TASTDEF_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 /* */ /* TERMINAL AST PACKET. THIS STRUCTURE IS USED BY TERMINAL SERVICES TO */ /* DELIVER OUT OF BAND CHARACTER ASTS. */ /* */ #define TAST$M_MASK_DSBL 0x1 #define TAST$M_INCLUDE 0x2 #define TAST$M_ONE_SHOT 0x4 #define TAST$M_BUSY 0x8 #define TAST$M_LOST 0x10 #define TAST$M_ABORT 0x20 #define TAST$K_LENGTH 60 #define TAST$C_LENGTH 60 #define TAST$M_ABO 0x4000 #define TAST$M_INC 0x8000 #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 _tast { #pragma __nomember_alignment int tastdef$$_fill_1 [9]; /*RESERVE ACB REGION */ struct _tast *tast$l_flink; /*FORWARD LINK */ int (*tast$l_ast)(); /*SAVED AST ADDRESS */ unsigned int tast$l_astprm; /*SAVED AST PARAMETER */ unsigned int tast$l_pid; /*SAVED PID */ unsigned char tast$b_rmod; /*SAVED RMOD */ __union { unsigned char tast$b_ctrl; /*CONTROL FIELD */ __struct { unsigned tast$v_mask_dsbl : 1; /*DISABLE MASK PROCESSING */ unsigned tast$v_include : 1; /*INCLUDE CHARACTER */ unsigned tast$v_one_shot : 1; /*ONE SHOT AST */ unsigned tast$v_busy : 1; /*BLOCK BUSY */ unsigned tast$v_lost : 1; /*AST LOST */ unsigned tast$v_abort : 1; /*ABORT I/O */ unsigned tast$v_fill_0_ : 2; } tast$r_ctrl_bits; } tast$r_ctrl_overlay; unsigned short int tast$w_chan; /*CHANNEL */ unsigned int tast$l_mask; /*OUT OF BAND MASK */ __struct { unsigned tast$v_fill : 14; /* First byte and spares */ unsigned tast$v_abo : 1; /* ABORT flag */ unsigned tast$v_inc : 1; /* INCLUDE flag */ } tast$r_status_bits; char tast$b_fill_1_ [2]; } TAST; #if !defined(__VAXC) #define tast$b_ctrl tast$r_ctrl_overlay.tast$b_ctrl #define tast$v_mask_dsbl tast$r_ctrl_overlay.tast$r_ctrl_bits.tast$v_mask_dsbl #define tast$v_include tast$r_ctrl_overlay.tast$r_ctrl_bits.tast$v_include #define tast$v_one_shot tast$r_ctrl_overlay.tast$r_ctrl_bits.tast$v_one_shot #define tast$v_busy tast$r_ctrl_overlay.tast$r_ctrl_bits.tast$v_busy #define tast$v_lost tast$r_ctrl_overlay.tast$r_ctrl_bits.tast$v_lost #define tast$v_abort tast$r_ctrl_overlay.tast$r_ctrl_bits.tast$v_abort #define tast$v_fill tast$r_status_bits.tast$v_fill #define tast$v_abo tast$r_status_bits.tast$v_abo #define tast$v_inc tast$r_status_bits.tast$v_inc #endif /* #if !defined(__VAXC) */ #define TAST$S_TASTDEF 64 /* Old size name, synonym for TAST$S_TAST */ #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 /* __TASTDEF_LOADED */