/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:38:16 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:21 _$11$DUA933:[BUILD.SDL]STARDEFQZ.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $XWDEF ***/ #ifndef __XWDEF_LOADED #define __XWDEF_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif /*++ */ /* */ /* XWDEF - System definitions for software DDCMP */ /* */ /*-- */ #define XW$M_CHA_FDX 0x1 #define XW$M_CHA_XPR 0x2 #define XW$M_CHA_DSR 0x4 #define XW$M_FAT_STAT 0x3FF #define XW$M_INFO_STAT 0xFC00 #define XW$M_EOT 0x1 #define XW$M_DATACK 0x2 #define XW$M_NODSR 0x4 #define XW$M_DISCON 0x8 #define XW$M_TRABINTMO 0x10 #define XW$M_PIPE_MARK 0x20 #define XW$M_BADCHAIN 0x40 #define XW$M_ILLMOD 0x80 #define XW$M_RVI 0x400 #define XW$M_CONACK 0x800 #define XW$M_XPR 0x1000 #define XW$M_ETXEND 0x2000 #define XW$M_PUNCH 0x10000 #define XW$M_HOR_FOR 0x20000 #define XW$M_IOMOD 0xE000 union xwdef { __struct { unsigned xw$v_cha_fdx : 1; /* Full duplex line */ unsigned xw$v_cha_xpr : 1; /* Transparency */ unsigned xw$v_cha_dsr : 1; /* Data Set Ready set */ unsigned xw$v_fill_48 : 5; } xw$r_xwdef_bits0; /* */ /* Device dependent status */ /* */ __struct { unsigned xw$v_fat_stat : 10; /* Beginning of fatal stat flags */ unsigned xw$v_info_stat : 6; /* Start of informational status */ } xw$r_xwdef_bits1; /* */ /* Bit definitions for fatal and informational status fields */ /* */ __struct { unsigned xw$v_eot : 1; /* EOT received */ unsigned xw$v_datack : 1; /* Retry threshold exceeded */ unsigned xw$v_nodsr : 1; /* Line not connected */ unsigned xw$v_discon : 1; /* Disconnect (DLE, EOT) rcvd */ unsigned xw$v_trabintmo : 1; /* Binary transmit timeout */ unsigned xw$v_pipe_mark : 1; /* Aborted because of pipe mark */ unsigned xw$v_badchain : 1; /* Bad record list */ unsigned xw$v_illmod : 1; /* Illegal QIO modifier */ unsigned xwdef$$_fill_1 : 2; unsigned xw$v_rvi : 1; /* Buffer ACKed with RVI */ unsigned xw$v_conack : 1; /* Buffer ACKed with conver resp */ unsigned xw$v_xpr : 1; /* Buffer rcvd with transparency */ unsigned xw$v_etxend : 1; /* Rcvd block ended with ETX */ unsigned xwdef$$_fill_2 : 2; unsigned xw$v_punch : 1; /* Punch select found */ unsigned xw$v_hor_for : 1; /* Horizontal forms record rcvd */ unsigned xw$v_fill_49 : 6; } xw$r_xwdef_bits2; /* */ /* Read/Write function modifier definition */ /* */ __struct { unsigned xwdef$$_fill_3 : 13; unsigned xw$v_iomod : 3; /* I/O modifier field start */ } xw$r_xwdef_bits3; } ; #if !defined(__VAXC) && !defined(VAXC) #define xw$v_cha_fdx xw$r_xwdef_bits0.xw$v_cha_fdx #define xw$v_cha_xpr xw$r_xwdef_bits0.xw$v_cha_xpr #define xw$v_cha_dsr xw$r_xwdef_bits0.xw$v_cha_dsr #define xw$v_fat_stat xw$r_xwdef_bits1.xw$v_fat_stat #define xw$v_info_stat xw$r_xwdef_bits1.xw$v_info_stat #define xw$v_eot xw$r_xwdef_bits2.xw$v_eot #define xw$v_datack xw$r_xwdef_bits2.xw$v_datack #define xw$v_nodsr xw$r_xwdef_bits2.xw$v_nodsr #define xw$v_discon xw$r_xwdef_bits2.xw$v_discon #define xw$v_trabintmo xw$r_xwdef_bits2.xw$v_trabintmo #define xw$v_pipe_mark xw$r_xwdef_bits2.xw$v_pipe_mark #define xw$v_badchain xw$r_xwdef_bits2.xw$v_badchain #define xw$v_illmod xw$r_xwdef_bits2.xw$v_illmod #define xw$v_rvi xw$r_xwdef_bits2.xw$v_rvi #define xw$v_conack xw$r_xwdef_bits2.xw$v_conack #define xw$v_xpr xw$r_xwdef_bits2.xw$v_xpr #define xw$v_etxend xw$r_xwdef_bits2.xw$v_etxend #define xw$v_punch xw$r_xwdef_bits2.xw$v_punch #define xw$v_hor_for xw$r_xwdef_bits2.xw$v_hor_for #define xw$v_iomod xw$r_xwdef_bits3.xw$v_iomod #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #ifdef __cplusplus } #endif #pragma standard #endif /* __XWDEF_LOADED */