/**/ /***************************************************************************/ /** **/ /** © 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 $TTYTADEF ***/ #ifndef __TTYTADEF_LOADED #define __TTYTADEF_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 /*++ */ /* TYPEAHEAD BUFFER */ /* */ /* DESCRIPTION: */ /* THIS BUFFER IS USED TO STORE CHARACTERS BEFORE PROCESSING AND */ /* MOVING THEM INTO THE USERS READ BUFFER. */ /* ALLOCATED ON UNSOLICITED DATA OR THE FIRST READ POSTED ON A TERMINAL */ /* LINE. */ /*-- */ #define TTY$K_TA_RCLLEN 256 /* LENGTH OF RECALL */ #define TTY$S_TTYTADEF 284 /* Old size name, synonym for TTY$S_TT_TYPE_AHD */ typedef struct _tt_type_ahd { /* THE LENGTH OF THE RECALL BUFFER */ int (*tty$l_ta_put)(); /* PUT POINTER */ int (*tty$l_ta_get)(); /* GET POINTER */ unsigned short int tty$w_ta_size; /* BLOCK SIZE */ unsigned char tty$b_ta_type; /* */ unsigned char tty$b_ta_spare1; unsigned short int tty$w_ta_inahd; /* COUNT OF CHARS IN BUFFER */ unsigned short int tty$w_ta_rcloff; /* NUMBER OF CHARACTERS IN THE RECALL */ /* BUFFER USED. */ void *tty$l_ta_end; /* END ADDRESS */ unsigned short int tty$w_ta_rclsiz; /* THE SIZE OF THE RECALL STRING */ unsigned short int tty$w_ta_spare2; char tty$a_ta_rcl [256]; /* TYPEAHEAD BUFFER - RECALL BUFFER */ void *tty$l_ta_data; /* TYPEAHEAD BUFFER - DATA START */ } TT_TYPE_AHD; #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 /* __TTYTADEF_LOADED */