00001 #ifndef trmdef_h 00002 #define trmdef_h 00003 00004 #define TRM__MODIFIERS 0 00005 #define TRM__EDITMODE 1 00006 #define TRM__TIMEOUT 2 00007 #define TRM__TERM 3 00008 #define TRM__PROMPT 4 00009 #define TRM__INISTRNG 5 00010 #define TRM__PICSTRNG 6 00011 #define TRM__FILLCHR 7 00012 #define TRM__INIOFFSET 8 00013 #define TRM__ALTECHSTR 9 00014 #define TRM__ESCTRMOVR 10 00015 #define TRM__LASTITM 11 00016 #define TRM__RESERVE12 12 00017 #define TRM__RESERVE13 13 00018 #define TRM__RESERVE14 14 00019 #define TRM__RESERVE15 15 00020 #define TRM__RESERVE16 16 00021 #define TRM__RESERVE17 17 00022 #define TRM__RESERVE18 18 00023 #define TRM__RESERVE19 19 00024 #define TRM__RESERVE20 20 00025 #define TRM__RESERVE21 21 00026 #define TRM__RESERVE22 22 00027 #define TRM__RESERVE23 23 00028 #define TRM__RESERVE24 24 00029 #define TRM__RESERVE25 25 00030 #define TRM__RESERVE26 26 00031 #define TRM__RESERVE27 27 00032 #define TRM__RESERVE28 28 00033 #define TRM__RESERVE29 29 00034 #define TRM__RESERVE30 30 00035 #define TRM__RECLINE 31 00036 00037 #define TRM_K_EM_DEFAULT 0 00038 #define TRM_K_EM_RDVERIFY 1 00039 #define TRM_M_TM_NOECHO 0x40 00040 #define TRM_M_TM_TIMED 0x80 00041 #define TRM_M_TM_CVTLOW 0x100 00042 #define TRM_M_TM_NOFILTR 0x200 00043 #define TRM_M_TM_DSABLMBX 0x400 00044 #define TRM_M_TM_PURGE 0x800 00045 #define TRM_M_TM_TRMNOECHO 0x1000 00046 #define TRM_M_TM_REFRESH 0x2000 00047 #define TRM_M_TM_ESCAPE 0x4000 00048 #define TRM_M_TM_NOEDIT 0x8000 00049 #define TRM_M_TM_NORECALL 0x10000 00050 #define TRM_M_TM_R_JUST 0x20000 00051 #define TRM_M_TM_AUTO_TAB 0x40000 00052 #define TRM_M_TM_ARROWS 0x80000 00053 #define TRM_M_TM_TERM_ARROW 0x100000 00054 #define TRM_M_TM_TERM_DEL 0x200000 00055 #define TRM_M_TM_TOGGLE 0x400000 00056 #define TRM_M_TM_OTHERWAY 0x800000 00057 #define TRM_M_TM_NOCLEAR 0x1000000 00058 #define TRM_M_CV_UPPER 0x1 00059 #define TRM_M_CV_LOWER 0x2 00060 #define TRM_M_CV_NUMERIC 0x4 00061 #define TRM_M_CV_NUMPUNC 0x8 00062 #define TRM_M_CV_PRINTABLE 0x10 00063 #define TRM_M_CV_ANY 0x20 00064 #define TRM_M_ST_FIELD_FULL 0x1 00065 #define TRM_M_ST_OTHERWAY 0x2 00066 00067 union _trmdef { 00068 struct { 00069 unsigned trmdef_$_fill_1 : 6; 00070 unsigned trm_v_tm_noecho : 1; 00071 unsigned trm_v_tm_timed : 1; 00072 unsigned trm_v_tm_cvtlow : 1; 00073 unsigned trm_v_tm_nofiltr : 1; 00074 unsigned trm_v_tm_dsablmbx : 1; 00075 unsigned trm_v_tm_purge : 1; 00076 unsigned trm_v_tm_trmnoecho : 1; 00077 unsigned trm_v_tm_refresh : 1; 00078 unsigned trm_v_tm_escape : 1; 00079 unsigned trm_v_tm_noedit : 1; 00080 unsigned trm_v_tm_norecall : 1; 00081 unsigned trm_v_tm_r_just : 1; 00082 unsigned trm_v_tm_auto_tab : 1; 00083 unsigned trm_v_tm_arrows : 1; 00084 unsigned trm_v_tm_term_arrow : 1; 00085 unsigned trm_v_tm_term_del : 1; 00086 unsigned trm_v_tm_toggle : 1; 00087 unsigned trm_v_tm_otherway : 1; 00088 unsigned trm_v_tm_noclear : 1; 00089 unsigned trm_v_fill_40_ : 7; 00090 }; 00091 struct { 00092 unsigned trm_v_cv_upper : 1; 00093 unsigned trm_v_cv_lower : 1; 00094 unsigned trm_v_cv_numeric : 1; 00095 unsigned trm_v_cv_numpunc : 1; 00096 unsigned trm_v_cv_printable : 1; 00097 unsigned trm_v_cv_any : 1; 00098 unsigned trm_v_fill_41_ : 2; 00099 }; 00100 struct { 00101 unsigned trm_v_st_field_full : 1; 00102 unsigned trm_v_st_otherway : 1; 00103 unsigned trm_v_fill_42_ : 6; 00104 }; 00105 }; 00106 00107 #endif 00108 00109