00001 #ifndef tt2def_h 00002 #define tt2def_h 00003 00004 #define TT2_M_LOCALECHO 0x1 00005 #define TT2_M_AUTOBAUD 0x2 00006 #define TT2_M_HANGUP 0x4 00007 #define TT2_M_MODHANGUP 0x8 00008 #define TT2_M_BRDCSTMBX 0x10 00009 #define TT2_M_XON 0x20 00010 #define TT2_M_DMA 0x40 00011 #define TT2_M_ALTYPEAHD 0x80 00012 #define TT2_M_SETSPEED 0x100 00013 #define TT2_M_DCL_MAILBX 0x200 00014 #define TT2_M_DECCRT4 0x400 00015 #define TT2_M_COMMSYNC 0x800 00016 #define TT2_M_EDITING 0x1000 00017 #define TT2_M_INSERT 0x2000 00018 #define TT2_M_FALLBACK 0x4000 00019 #define TT2_M_DIALUP 0x8000 00020 #define TT2_M_SECURE 0x10000 00021 #define TT2_M_DISCONNECT 0x20000 00022 #define TT2_M_PASTHRU 0x40000 00023 #define TT2_M_SYSPWD 0x80000 00024 #define TT2_M_SIXEL 0x100000 00025 #define TT2_M_DRCS 0x200000 00026 #define TT2_M_PRINTER 0x400000 00027 #define TT2_M_APP_KEYPAD 0x800000 00028 #define TT2_M_ANSICRT 0x1000000 00029 #define TT2_M_REGIS 0x2000000 00030 #define TT2_M_BLOCK 0x4000000 00031 #define TT2_M_AVO 0x8000000 00032 #define TT2_M_EDIT 0x10000000 00033 #define TT2_M_DECCRT 0x20000000 00034 #define TT2_M_DECCRT2 0x40000000 00035 #define TT2_M_DECCRT3 0x80000000 00036 00037 #define TT2_V_LOCALECHO 0 00038 #define TT2_V_AUTOBAUD 1 00039 #define TT2_V_HANGUP 2 00040 #define TT2_V_MODHANGUP 3 00041 #define TT2_V_BRDCSTMBX 4 00042 #define TT2_V_XON 5 00043 #define TT2_V_DMA 6 00044 #define TT2_V_ALTYPEAHD 7 00045 #define TT2_V_SETSPEED 8 00046 #define TT2_V_DCL_MAILBX 9 00047 #define TT2_V_DECCRT4 10 00048 #define TT2_V_COMMSYNC 11 00049 #define TT2_V_EDITING 12 00050 #define TT2_V_INSERT 13 00051 #define TT2_V_FALLBACK 14 00052 #define TT2_V_DIALUP 15 00053 #define TT2_V_SECURE 16 00054 #define TT2_V_DISCONNECT 17 00055 #define TT2_V_PASTHRU 18 00056 #define TT2_V_SYSPWD 19 00057 #define TT2_V_SIXEL 20 00058 #define TT2_V_DRCS 21 00059 #define TT2_V_PRINTER 22 00060 #define TT2_V_APP_KEYPAD 23 00061 #define TT2_V_ANSICRT 24 00062 #define TT2_V_REGIS 25 00063 #define TT2_V_BLOCK 26 00064 #define TT2_V_AVO 27 00065 #define TT2_V_EDIT 28 00066 #define TT2_V_DECCRT 29 00067 #define TT2_V_DECCRT2 30 00068 #define TT2_V_DECCRT3 31 00069 00070 union _tt2def { 00071 struct { 00072 unsigned tt2_v_localecho : 1; 00073 unsigned tt2_v_autobaud : 1; 00074 unsigned tt2_v_hangup : 1; 00075 unsigned tt2_v_modhangup : 1; 00076 unsigned tt2_v_brdcstmbx : 1; 00077 unsigned tt2_v_xon : 1; 00078 unsigned tt2_v_dma : 1; 00079 unsigned tt2_v_altypeahd : 1; 00080 unsigned tt2_v_setspeed : 1; 00081 unsigned tt2_v_dcl_mailbx : 1; 00082 unsigned tt2_v_deccrt4 : 1; 00083 unsigned tt2_v_commsync : 1; 00084 unsigned tt2_v_editing : 1; 00085 unsigned tt2_v_insert : 1; 00086 unsigned tt2_v_fallback : 1; 00087 unsigned tt2_v_dialup : 1; 00088 unsigned tt2_v_secure : 1; 00089 unsigned tt2_v_disconnect : 1; 00090 unsigned tt2_v_pasthru : 1; 00091 unsigned tt2_v_syspwd : 1; 00092 unsigned tt2_v_sixel : 1; 00093 unsigned tt2_v_drcs : 1; 00094 unsigned tt2_v_printer : 1; 00095 unsigned tt2_v_app_keypad : 1; 00096 unsigned tt2_v_ansicrt : 1; 00097 unsigned tt2_v_regis : 1; 00098 unsigned tt2_v_block : 1; 00099 unsigned tt2_v_avo : 1; 00100 unsigned tt2_v_edit : 1; 00101 unsigned tt2_v_deccrt : 1; 00102 unsigned tt2_v_deccrt2 : 1; 00103 unsigned tt2_v_deccrt3 : 1; 00104 }; 00105 }; 00106 00107 #endif 00108 00109