/* Ported to GNU C openVMS/Alpha by Klaus Kämpf, kkaempf@progis.de */ /* * * RMS terminal control XAB definitions */ #ifndef _XABTRMDEF_H #define _XABTRMDEF_H #ifdef __cplusplus extern "C" { #endif #define XAB$C_TRM 31 /* xabtrm ID code */ #define XAB$K_TRMLEN 36 /* length of xab of type terminal control */ #define XAB$C_TRMLEN 36 #ifndef __XABSTART_FIELDS #include #endif struct xabtrmdef { __XABSTART_FIELDS void *xab$l_itmlst; /* item list address */ unsigned short xab$w_itmlst_len; /* item list length */ unsigned short : 16; /* spare */ unsigned : 32, : 32, : 32, : 32, : 32; /*long[5]*/ } __attribute__ ((packed)); #define XABTRM xabtrmdef /* declare initialized prototype data structure */ #ifdef __ALPHA #else extern struct XABTRM cc$rms_xabtrm __asm("_$$PsectAttributes_GLOBALSYMBOL$$cc$rms_xabtrm"); /* globalref struct XABTRM cc$rms_xabtrm; */ #endif #ifdef __cplusplus } #endif #endif /*_XABTRMDEF_H*/