1 typedef struct {
2   struct CHPHO *chpho;
3   int c_idx, c_len;
4   int ph_sta;  // phrase start
5   int sel_pho;
6   int current_page;
7   int startf, pho_count, phrase_count;
8   gboolean full_match;
9   gboolean tsin_half_full;
10   gboolean tsin_buffer_editing;
11   gboolean ctrl_pre_sel;
12   struct PRE_SEL *pre_sel;
13   int pre_selN;
14   int last_cursor_idx;
15   int pho_menu_idx;
16 } TSIN_ST;
17 extern TSIN_ST tss;
18 
19 typedef enum {
20   SAME_PHO_QUERY_none = 0,
21   SAME_PHO_QUERY_gtab_input = 1,
22   SAME_PHO_QUERY_pho_select = 2,
23 } SAME_PHO_QUERY;
24 
25 typedef struct {
26   int ityp3_pho;
27   int cpg, maxi;
28   int start_idx, stop_idx;
29   char typ_pho[4];
30   char inph[8];
31   SAME_PHO_QUERY same_pho_query_state;
32   unsigned int vv, ii;
33   phokey_t key;
34 } PHO_ST;
35 extern PHO_ST poo;
36 
37 #define MAX_TAB_KEY_NUM64_6 (10)
38 
39 typedef struct {
40   int S1, E1, last_idx, wild_page, pg_idx, total_matchN, sel1st_i;
41   u_int64_t kval;
42   gboolean last_full, wild_mode, spc_pressed, invalid_spc, more_pg, gtab_buf_select;
43   short defselN, exa_match, ci, gbufN, gbuf_cursor;
44   KeySym inch[MAX_TAB_KEY_NUM64_6];
45 } GTAB_ST;
46 extern GTAB_ST ggg;
47