/**/ /***************************************************************************/ /** **/ /** © 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:25:58 by OpenVMS SDL EV3-3 */ /* Source: 29-JUL-2002 11:28:09 $1$DGA7274:[LIB_H.SRC]TTYVECDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $TTYVECDEF ***/ #ifndef __TTYVECDEF_LOADED #define __TTYVECDEF_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 /* */ /* */ /* */ /* */ #define CLASS_LENGTH 40 /* must be at end. */ #define CLASSS_CLASS_DEF 40 /* Old size name, synonym for CLASSS_TT_CLASS */ #ifdef __cplusplus /* Define structure prototypes */ struct _ddt; #endif /* #ifdef __cplusplus */ typedef struct _tt_class { unsigned char (*class_getnxt)(); /* */ unsigned char (*class_putnxt)(); /* */ void (*class_setup_ucb)(); /* */ void (*class_ds_tran)(); /* */ struct _ddt *class_ddt; /* */ unsigned char (*class_readerror)(); /* */ void (*class_disconnect)(); /* */ void (*class_fork)(); /* */ void (*class_powerfail)(); /* */ void *class_tables; /* */ } TT_CLASS; #define TABLES_LENGTH 100 /* must be at end. */ #define TABLESS_TABLES_DEF 100 /* Old size name, synonym for TABLESS_TT_TABLES */ typedef struct _tt_tables { unsigned int tables_fill1; /* */ unsigned int tables_fill2; /* */ unsigned int tables_fill3; /* */ unsigned int tables_fill4; /* */ unsigned int tables_fill5; /* */ unsigned int tables_fill6; /* */ unsigned int tables_fill7; /* */ unsigned int tables_fill8; /* */ unsigned int tables_fill9; /* */ unsigned int tables_fill10; /* */ unsigned int tables_fill11; /* */ unsigned int tables_fill12; /* */ unsigned int tables_fill13; /* */ unsigned int tables_fill14; /* */ unsigned int tables_fill15; /* */ unsigned int tables_fill16; /* */ unsigned int tables_fill17; /* */ unsigned int tables_init_mid; /* */ unsigned int tables_fill19; /* */ unsigned int tables_posix; /* */ unsigned int tables_asian; /* */ unsigned int tables_fill22; /* */ unsigned int tables_fill23; /* */ unsigned int tables_fill24; /* */ unsigned int tables_fidriver; /* */ } TT_TABLES; #define PORT_LENGTH 76 /* must be at end. */ #define PORTS_PORT_DEF 76 /* Old size name, synonym for PORTS_TT_PORT */ typedef struct _tt_port { void (*port_startio)(); /* */ void (*port_disconnect)(); /* */ void (*port_set_line)(); /* */ void (*port_ds_set)(); /* */ void (*port_xon)(); /* */ void (*port_xoff)(); /* */ void (*port_stop)(); /* */ void (*port_stop2)(); /* */ void (*port_abort)(); /* */ void (*port_resume)(); /* */ void (*port_set_modem)(); /* */ void (*port_glyphload)(); /* Glyph loading (was _DMA) */ int (*port_maint)(); /* */ void (*port_forkret)(); /* */ int (*port_fdt)(); /* */ void (*port_start_read)(); /* Start of PSI specific extensions */ void (*port_middle_read)(); /* */ void (*port_end_read)(); /* End of PSI specific extensions */ void (*port_cancel)(); /* Port driver cancel I/O routine for PORT FDT requests */ } TT_PORT; /* */ /* Asian terminal driver vectors */ /* */ #define ASIAN_LENGTH 96 /* must be at end. */ #define ASIANS_ASIAN_DEF 96 /* Old size name, synonym for ASIANS_TT_ASIAN */ typedef struct _tt_asian { int (*asian_fdtsensem)(); /* FDT SENSEMODE */ int (*asian_fdtsensec)(); /* FDT SENSECHAR */ int (*asian_fdt_setm)(); /* FDT SETMODE */ int (*asian_fdt_setc)(); /* FDT SETCHAR */ int (*asian_upper)(); /* FDT upcasing */ int (*asian_jiscon)(); /* JIS conversion */ int (*asian_start_read)(); /* Read QIO init */ int (*asian_do_setm)(); /* Start I/O SETMODE */ int (*asian_do_setc)(); /* Start I/O SETCHAR */ int (*asian_begin_echo)(); /* Start echo if needed */ int (*asian_cursoroverf)(); /* Cursor overflow */ int (*asian_setup_ucb)(); /* Set/reset UCB */ int (*asian_fontfork)(); /* Fork ODL startup */ int (*asian_cre_control)(); /* */ int (*asian_fhpointer)(); /* Pointer to FHDRIVER */ int (*asian_delete_asc)(); /* Delete ASC */ int (*asian_abort)(); /* AS$ABORT */ int (*asian_find_bol)(); /* Find begin of line */ int (*asian_preload)(); /* Preload handling */ int (*asian_preload_fork)(); /* Deliver preload req. */ int (*asian_del_cache_fork)(); /* Deliver del cache req. */ int (*asian_preload_cleanup)(); /* Deliver preload req. */ int (*asian_adjust_cursor)(); /* update cursor position */ int (*asian_clone_ucb)(); /* Clone UCB fixup */ } TT_ASIAN; /* */ /* FI driver vectors */ /* */ #define FIDRIVER_LENGTH 12 /* must be at end. */ #define FIDRIVERS_FIDRIVER_DEF 12 /* Old size name, synonym for ASIANS_TT_ASIAN */ typedef struct _tt_fidriver { int (*fidriver_ttread)(); /* FDT READ */ int (*fidriver_ttcancelio)(); /* CANCEL IO */ int (*fidriver_ttdisconnect)(); /* DISCONNECT */ } TT_FIDRIVER; /* */ /* Tables pointed to by TTY$A_POSIX */ /* */ #define POSIX_TABLES_LENGTH 16 /* must be at end. */ #define POSIX_TABLESS_POSIX_TABLES_DEF 16 /* Old size name, synonym for POSIX_TABLESS_TT_POSIX_TABLES */ typedef struct _tt_posix_tables { unsigned int posix_tables_pt_pointer; /* */ unsigned int posix_tables_pt_putnxt; /* */ unsigned int posix_tables_pt_getnxt; /* */ unsigned int posix_tables_pt_writing; /* */ } TT_POSIX_TABLES; #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 /* __TTYVECDEF_LOADED */