/**/ /***************************************************************************/ /** **/ /** © 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:54 by OpenVMS SDL EV3-3 */ /* Source: 18-MAY-1994 16:11:43 $1$DGA7274:[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 */