00001 #ifndef ttyrbdef_h 00002 #define ttyrbdef_h 00003 00004 #define TTY_M_RS_WRAP 0x1 00005 #define TTY_S_TTYRBDEF 84 00006 00007 struct _tt_readbuf { 00008 void *tty_l_rb_txt; 00009 void *tty_l_rb_uva; 00010 unsigned short int tty_w_rb_size; 00011 unsigned short int tty_w_rb_type; 00012 unsigned short int tty_w_rb_echlen; 00013 unsigned short int tty_w_rb_nonfill; 00014 unsigned long long tty_q_rb_echoarea; 00015 void *tty_l_rb_echstr; 00016 void *tty_l_rb_pic; 00017 void *tty_l_rb_term; 00018 unsigned int tty_l_rb_mod; 00019 void *tty_l_rb_aes; 00020 unsigned short int tty_w_rb_aeslen; 00021 union { 00022 unsigned short int tty_w_rb_rdstate; 00023 struct { 00024 unsigned tty_v_rs_wrap : 1; 00025 unsigned tty_v_fill_11_ : 7; 00026 }; 00027 }; 00028 void *tty_l_rb_lin; 00029 unsigned short int tty_w_rb_linoff; 00030 unsigned short int tty_w_rb_linrest; 00031 unsigned short int tty_w_rb_prmlen; 00032 unsigned short int tty_w_rb_timos; 00033 unsigned short int tty_w_rb_cpzcur; 00034 unsigned short int tty_w_rb_cpzorg; 00035 unsigned short int tty_w_rb_txtoff; 00036 unsigned short int tty_w_rb_piclen; 00037 unsigned short int tty_w_rb_txtsiz; 00038 unsigned short int tty_w_rb_txtech; 00039 unsigned short int tty_w_rb_mode; 00040 unsigned char tty_b_rb_rvfclr; 00041 unsigned char tty_b_rb_rvffil; 00042 unsigned short int tty_w_rb_esctkn; 00043 unsigned short int tty_w_rb_txtonlysiz; 00044 union { 00045 void *tty_a_rb_prm; 00046 void *tty_l_rb_data; 00047 }; 00048 }; 00049 00050 #endif 00051 00052