/**/ /***************************************************************************/ /** **/ /** © 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:02 by OpenVMS SDL EV3-3 */ /* Source: 14-JAN-2004 07:50:02 $1$DGA7274:[LIB_H.SRC]TTYDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $TTYRBDEF ***/ #ifndef __TTYRBDEF_LOADED #define __TTYRBDEF_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 /*++ */ /* Read buffer definitions */ /* */ /* This buffer is allocated everytime a read is issued. The */ /* buffer contains all the information necessary to perform this read. */ /* */ /*-- */ #define TTY$M_RS_WRAP 0x1 #define TTY$S_TTYRBDEF 84 /* Old size name; synonym for TTY$S_TT_READBUF */ typedef struct _tt_readbuf { void *tty$l_rb_txt; /* Address of the first character of */ /* the read data. */ void *tty$l_rb_uva; /* READ BUFFER - USER VIRTUAL ADDR */ unsigned short int tty$w_rb_size; /* READ BUFFER - BLOCK SIZE */ unsigned short int tty$w_rb_type; /* buffer type */ unsigned short int tty$w_rb_echlen; /* NUMBER OF CHARACTERS TO ECHO */ /* WHEN OUTPUTTING FROM ECHSTR */ unsigned short int tty$w_rb_nonfill; /* POSITION OF 1ST NONFILL CHAR */ unsigned __int64 tty$q_rb_echoarea; /* WORDS TO ECHO CHARACTERS FROM */ void *tty$l_rb_echstr; /* ADDRESS OF THE FIRST CHARACTER */ /* TO OUTPUT DURING EDITECHOING. */ void *tty$l_rb_pic; /* ADDRESS OF THE PICTURE STRING */ /* FOR READ VERIFY */ void *tty$l_rb_term; /* THE ADDRESS OF THE TERMINATOR BITMASK */ unsigned int tty$l_rb_mod; /* MODIFIER LONGWORD */ void *tty$l_rb_aes; /* ADDRESS OF THE AES STRING */ unsigned short int tty$w_rb_aeslen; /* THE LENGTH OF THE AESSTRING */ __union { unsigned short int tty$w_rb_rdstate; /* Read state information word */ __struct { unsigned tty$v_rs_wrap : 1; /* THE READ HAS WRAPPED EITHER IN THE PROMPT OR INITIAL STRING */ unsigned tty$v_fill_11_ : 7; } tty$r_rb_rdstate_bits; } tty$r_rb_rdstate_overlay; void *tty$l_rb_lin; /* ADDRESS OF THE FIRST CHARACTER ON */ /* THIS LINE. */ unsigned short int tty$w_rb_linoff; /* OFFSET FROM THE BEGINNING OF THE */ /* LINE TO THE CURSOR POSITION. */ unsigned short int tty$w_rb_linrest; /* NUMBER OF CHARACTERS TO THE RIGHT */ /* OF THE CURSOR POSITION, USED BY */ /* INPUT EDITING */ unsigned short int tty$w_rb_prmlen; /* LENGTH IN BYTES OF THE PROMPT STRING */ unsigned short int tty$w_rb_timos; /* READ BUFFER - TIMEOUT SECONDS */ unsigned short int tty$w_rb_cpzcur; /* CURRENT CURSOR POSITION */ unsigned short int tty$w_rb_cpzorg; /* READ BUFFER - ORIGONAL HORIZON */ unsigned short int tty$w_rb_txtoff; /* OFFSET FROM THE BEGINNING OF THE */ /* DATA TO THE LOCATION OF THE NEXT CHARACTER */ unsigned short int tty$w_rb_piclen; /* the length of the picture string */ unsigned short int tty$w_rb_txtsiz; /* THE LENGTH OF THE READ. */ unsigned short int tty$w_rb_txtech; /* AMOUNT OF INITIAL STRING TO ECHO */ unsigned short int tty$w_rb_mode; /* VALUE INDICATING READ EDIT MODE */ unsigned char tty$b_rb_rvfclr; /* CLEAR CHARACTER FOR READ VERIFY */ unsigned char tty$b_rb_rvffil; /* READ VERIFY FILL CHARACTER */ unsigned short int tty$w_rb_esctkn; /* ESCAPE TOKEN CHARACTER */ unsigned short int tty$w_rb_txtonlysiz; /* SIZE OF TEXT W/OUT TERMINATOR */ __union { void *tty$a_rb_prm; /* ADDRESS OF BEGINNING OF THE PROMPT */ void *tty$l_rb_data; /* READ BUFFER - DATA */ } tty$r_rb_prm_overlay; } TT_READBUF; #if !defined(__VAXC) #define tty$w_rb_rdstate tty$r_rb_rdstate_overlay.tty$w_rb_rdstate #define tty$v_rs_wrap tty$r_rb_rdstate_overlay.tty$r_rb_rdstate_bits.tty$v_rs_wrap #define tty$a_rb_prm tty$r_rb_prm_overlay.tty$a_rb_prm #define tty$l_rb_data tty$r_rb_prm_overlay.tty$l_rb_data #endif /* #if !defined(__VAXC) */ #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 /* __TTYRBDEF_LOADED */