00001 #ifndef ttyvecdef_h 00002 #define ttyvecdef_h 00003 00004 #define CLASS_LENGTH 40 00005 #define CLASSS_CLASS_DEF 40 00006 00007 #define TABLES_LENGTH 100 00008 #define TABLESS_TABLES_DEF 100 00009 00010 #define PORT_LENGTH 76 00011 #define PORTS_PORT_DEF 76 00012 00013 #define ASIAN_LENGTH 96 00014 #define ASIANS_ASIAN_DEF 96 00015 00016 #define FIDRIVER_LENGTH 12 00017 #define FIDRIVERS_FIDRIVER_DEF 12 00018 00019 #define POSIX_TABLES_LENGTH 16 00020 #define POSIX_TABLESS_POSIX_TABLES_DEF 16 00021 00022 struct _tt_class { 00023 int (*class_getnxt)(); 00024 int (*class_putnxt)(); 00025 int (*class_setup_ucb)(); 00026 int (*class_ds_tran)(); 00027 struct _ddt *class_ddt; 00028 int (*class_readerror)(); 00029 int (*class_disconnect)(); 00030 int (*class_fork)(); 00031 int (*class_powerfail)(); 00032 void *class_tables; 00033 }; 00034 00035 struct _tt_tables { 00036 unsigned int tables_fill1; 00037 unsigned int tables_fill2; 00038 unsigned int tables_fill3; 00039 unsigned int tables_fill4; 00040 unsigned int tables_fill5; 00041 unsigned int tables_fill6; 00042 unsigned int tables_fill7; 00043 unsigned int tables_fill8; 00044 unsigned int tables_fill9; 00045 unsigned int tables_fill10; 00046 unsigned int tables_fill11; 00047 unsigned int tables_fill12; 00048 unsigned int tables_fill13; 00049 unsigned int tables_fill14; 00050 unsigned int tables_fill15; 00051 unsigned int tables_fill16; 00052 unsigned int tables_fill17; 00053 unsigned int tables_init_mid; 00054 unsigned int tables_fill19; 00055 unsigned int tables_posix; 00056 unsigned int tables_asian; 00057 unsigned int tables_fill22; 00058 unsigned int tables_fill23; 00059 unsigned int tables_fill24; 00060 unsigned int tables_fidriver; 00061 }; 00062 00063 struct _tt_port { 00064 void (*port_startio)(); 00065 int (*port_disconnect)(); 00066 int (*port_set_line)(); 00067 int (*port_ds_set)(); 00068 int (*port_xon)(); 00069 int (*port_xoff)(); 00070 int (*port_stop)(); 00071 int (*port_stop2)(); 00072 int (*port_abort)(); 00073 int (*port_resume)(); 00074 int (*port_set_modem)(); 00075 int (*port_glyphload)(); 00076 int (*port_maint)(); 00077 int (*port_forkret)(); 00078 int (*port_fdt)(); 00079 void (*port_start_read)(); 00080 void (*port_middle_read)(); 00081 void (*port_end_read)(); 00082 void (*port_cancel)(); 00083 }; 00084 00085 struct _tt_asian { 00086 int (*asian_fdtsensem)(); 00087 int (*asian_fdtsensec)(); 00088 int (*asian_fdt_setm)(); 00089 int (*asian_fdt_setc)(); 00090 int (*asian_upper)(); 00091 int (*asian_jiscon)(); 00092 int (*asian_start_read)(); 00093 int (*asian_do_setm)(); 00094 int (*asian_do_setc)(); 00095 int (*asian_begin_echo)(); 00096 int (*asian_cursoroverf)(); 00097 int (*asian_setup_ucb)(); 00098 int (*asian_fontfork)(); 00099 int (*asian_cre_control)(); 00100 int (*asian_fhpointer)(); 00101 int (*asian_delete_asc)(); 00102 int (*asian_abort)(); 00103 int (*asian_find_bol)(); 00104 int (*asian_preload)(); 00105 int (*asian_preload_fork)(); 00106 int (*asian_del_cache_fork)(); 00107 int (*asian_preload_cleanup)(); 00108 int (*asian_adjust_cursor)(); 00109 int (*asian_clone_ucb)(); 00110 }; 00111 00112 struct _tt_fidriver { 00113 int (*fidriver_ttread)(); 00114 int (*fidriver_ttcancelio)(); 00115 int (*fidriver_ttdisconnect)(); 00116 }; 00117 00118 struct _tt_posix_tables { 00119 unsigned int posix_tables_pt_pointer; 00120 unsigned int posix_tables_pt_putnxt; 00121 unsigned int posix_tables_pt_getnxt; 00122 unsigned int posix_tables_pt_writing; 00123 }; 00124 00125 #endif 00126 00127