/********************************************************************************************************************************/ /* Created: 19-JUN-1992 18:08:31 by OpenVMS SDL EV1-11 */ /* Source: 19-JUN-1992 18:04:56 CRTL$:[ROUTLEY.CRTL.SDLFIX.BLADEFIX]RMSUSR.SDI; */ /* Modified: 24-Aug-1992 for C++ compatibility. */ /********************************************************************************************************************************/ /*** MODULE $XABCXRDEF ***/ #ifndef __XABCXRDEF_LOADED #define __XABCXRDEF_LOADED 1 #if defined(__DECC) || defined(__DECCXX) #pragma __nostandard /* This file uses non-ANSI-Standard features */ #else #pragma nostandard #endif #if defined(__DECC) || defined(__DECCXX) #pragma __member_alignment __save #pragma __nomember_alignment #endif #ifdef __DECC #pragma __message __save #pragma __message __disable (__MISALGNDSTRCT) #pragma __message __disable (__MISALGNDMEM) #endif #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 /*** MODULE $xabcxrdef ***/ /* */ /* RMS Context XAB associated with the RAB */ /* $xabcxrdef */ /* */ /* */ #define XAB$C_CXR 33 /* XABCXR id code */ #define XAB$M_CXRRST 0x1 #define XAB$C_CXB_VER1 1 #define XAB$C_CXRBLEN 512 /* Length of CXRBUF (bytes) */ #define XAB$K_CXRLEN 84 /* Length of XAB type CXR */ #define XAB$C_CXRLEN 84 /* Length of XAB type CXR */ struct XABCXR { unsigned char xab$b_cod; unsigned char xab$b_bln; unsigned : 16; /* spare */ void *xab$l_nxt; /* Next XAB in chain */ /* */ /* Following in common with the CXF block, too. */ /* Do not rearrange without changing it. */ /* */ unsigned int xab$l_cxrsts; /* Status of the last record operation. */ unsigned int xab$l_cxrstv; /* Status Value of the last record operation. */ __union { unsigned int xab$l_cxrcop; /* Context Options. */ __struct { unsigned xab$v_cxrrst : 1; /* Restore file/record state - use context blk as input. */ unsigned xabcxrdef$$_fill_5 : 27; unsigned xab$v_cxrbver : 4; /* Version of Key buffer */ } xab$r_cxrcop_bits; } xab$r_cxrcop_overlay; unsigned int xab$l_cxrbkp; /* Bookkeeping bits */ unsigned short int xab$w_cxrisi; /* Internal Record Identifier */ unsigned char xab$b_cxrver; /* prologue version num. */ char xabcxrdef$$_fill_6; /* spare to longword align commonality */ int xabcxrdef$$_fill_7; /* spare */ unsigned char xab$b_cxrmbf; /* Multibuffer count */ unsigned char xab$b_cxrmbc; /* Multiblock count */ unsigned short int xab$w_cxrbfz; /* sz in byte of CXRBUF */ unsigned int xab$l_cxrvbn; /* NRP VBN */ unsigned short int xab$w_cxroff; /* NRP offset in VBN */ unsigned short int xab$w_fill_8; /* mbz - longword align */ unsigned int xab$l_cxrpos0; /* Primary Positioning RFA */ unsigned short int xab$w_cxrpos4; short int xabcxrdef$$_fill_9; /* Spare MBZ */ unsigned int xab$l_cxrcur0; /* Current Positioning RFA */ unsigned short int xab$w_cxrcur4; short int xabcxrdef$$_fill_10; /* Spare MBZ */ unsigned int xab$l_cxrsid0; /* SIDR positioning RFA */ unsigned short int xab$w_cxrsid4; short int xabcxrdef$$_fill_11; /* Spare MBZ */ unsigned short int xab$w_cxrcnt; /* SIDR array count */ unsigned char xab$b_cxrkref; /* Cur Key of Reference */ unsigned char xab$b_cxrklen; /* Length of key */ unsigned int xab$l_cxrbuf; /* address of key buf */ int xabcxrdef$$_fill_12 [2]; /* Spares */ } ; #if !defined(__VAXC) && !defined(VAXC) #define xab$l_cxrcop xab$r_cxrcop_overlay.xab$l_cxrcop #define xab$v_cxrrst xab$r_cxrcop_overlay.xab$r_cxrcop_bits.xab$v_cxrrst #define xab$v_cxrbver xab$r_cxrcop_overlay.xab$r_cxrcop_bits.xab$v_cxrbver #endif #if defined(__DECC) #pragma __message __restore #endif #if defined(__DECC) || defined(__DECCXX) #pragma __member_alignment __restore #endif #ifdef __cplusplus } #endif #if defined(__DECC) || defined(__DECCXX) #pragma __standard /* This file uses non-ANSI-Standard features */ #else #pragma standard #endif #endif /* __XABCXRDEF_LOADED */