/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:06 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFQZ.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $XKDEVDEF ***/ #ifndef __XKDEVDEF_LOADED #define __XKDEVDEF_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 /* */ /* 3271 DEVICE STATUS BLOCK */ /* */ /* THE DRIVER RETURNS N COPIES OF THIS BLOCK FOLLOWING THE LINE STATUS BLOCK */ /* IN THE USER'S BUFFER, WHERE N IS THE NUMBER OF ACTIVE DEVICES ON THE LINE. */ /* */ #define XKDEV$K_SIZE 15 /* SIZE OF THE DEVICE STATUS BLOCK */ #define XKDEV$C_SIZE 15 /* SIZE OF THE DEVICE STATUS BLOCK */ #ifdef __NEW_STARLET typedef struct _xkdevdef { unsigned char xkdev$b_dueb; /* DEVICE ADDRESS (DU - HEX EBCDIC) */ unsigned int xkdev$l_dpid; /* PROCESS ID OF PROCESS OWNING THIS DU */ unsigned short int xkdev$w_tblk; /* NUMBER OF BLOCKS TRANSMITTED */ unsigned short int xkdev$w_rblk; /* NUMBER OF BLOCKS RECEIVED */ unsigned short int xkdev$w_spol; /* NUMBER OF SPECIFIC POLLS RECEIVED */ unsigned short int xkdev$w_asel; /* NUMBER OF ADDRESS SELECTS RECEIVED */ unsigned short int xkdev$w_crej; /* NUMBER OF COMMAND REJECTS SENT */ } XKDEVDEF; #else /* __OLD_STARLET */ struct xkdevdef { unsigned char xkdev$b_dueb; /* DEVICE ADDRESS (DU - HEX EBCDIC) */ unsigned int xkdev$l_dpid; /* PROCESS ID OF PROCESS OWNING THIS DU */ unsigned short int xkdev$w_tblk; /* NUMBER OF BLOCKS TRANSMITTED */ unsigned short int xkdev$w_rblk; /* NUMBER OF BLOCKS RECEIVED */ unsigned short int xkdev$w_spol; /* NUMBER OF SPECIFIC POLLS RECEIVED */ unsigned short int xkdev$w_asel; /* NUMBER OF ADDRESS SELECTS RECEIVED */ unsigned short int xkdev$w_crej; /* NUMBER OF COMMAND REJECTS SENT */ } ; #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 /* __XKDEVDEF_LOADED */