1 /* 2 * $Id: rk_extvars.h,v 1.2 2001/06/14 18:16:09 ura Exp $ 3 */ 4 5 /* 6 * FreeWnn is a network-extensible Kana-to-Kanji conversion system. 7 * This file is part of FreeWnn. 8 * 9 * Copyright Kyoto University Research Institute for Mathematical Sciences 10 * 1987, 1988, 1989, 1990, 1991, 1992 11 * Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999 12 * Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992 13 * 14 * Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp> 15 * 16 * This program is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by 18 * the Free Software Foundation; either version 2, or (at your option) 19 * any later version. 20 * 21 * This program is distributed in the hope that it will be useful, 22 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 24 * GNU General Public License for more details. 25 * 26 * You should have received a copy of the GNU General Public License 27 * along with GNU Emacs; see the file COPYING. If not, write to the 28 * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 29 * 30 * Commentary: 31 * 32 * Change log: 33 * 34 * Last modified date: 8,Feb.1999 35 * 36 * Code: 37 * 38 */ 39 /*********************************************************************** 40 rk_extvars.h 41 87.11.12 �� �� 42 43 ��İʾ�Υե�����ˤޤ����äƻȤ����ѿ���extern����� 44 ���Τ�rk_vars.c������� 45 ***********************************************************************/ 46 /* Version 3.1 88/06/13 H.HASHIMOTO 47 */ 48 #ifndef MULTI 49 extern char rk_errstat; 50 51 extern int flags; 52 extern jmp_buf env0; 53 54 extern char *dspmod[][2]; 55 56 struct modetable 57 { 58 int max; 59 int count; 60 char **point; 61 int size; 62 char *org; 63 char *next; 64 }; 65 66 extern struct modetable rk_defmode; 67 extern struct modetable rk_dspmode; 68 extern struct modetable rk_taiouhyo; 69 extern struct modetable rk_path; 70 71 struct modeswtable 72 { 73 int max; 74 int count; 75 int *point; 76 }; 77 extern struct modeswtable rk_modesw; 78 79 struct modenaibutable 80 { 81 int size; 82 int *org; 83 int *next; 84 }; 85 extern struct modenaibutable rk_modenaibu; 86 87 struct modebuftable 88 { 89 int size; 90 char *org; 91 }; 92 extern struct modebuftable rk_modebuf; 93 94 struct dat 95 { 96 letter *code[3]; 97 }; 98 99 struct hyo 100 { 101 int hyoshu; 102 struct dat *data; 103 letter **hensudef; 104 int size; 105 letter *memory; 106 }; 107 108 struct hyotable 109 { 110 int size; 111 struct hyo *point; 112 }; 113 extern struct hyotable rk_hyo; 114 115 struct usehyotable 116 { 117 int size; 118 int *usemaehyo; 119 int *usehyo; 120 int *useatohyo; 121 }; 122 extern struct usehyotable rk_usehyo; 123 124 struct hyobuftable 125 { 126 int size; 127 char *org; 128 char *next; 129 }; 130 extern struct hyobuftable rk_hyobuf; 131 132 struct henikitable 133 { 134 int size; 135 letter *org; 136 letter *next; 137 }; 138 extern struct henikitable rk_heniki; 139 140 struct hensuset 141 { 142 unsigned regdflg:1; /* ����Ͽ���ѿ���ɽ�� */ 143 unsigned curlinflg:1; /* ���߹Ԥ˴��Ф��ѿ���ɽ�� */ 144 letter *name; 145 letter *range; 146 }; 147 148 struct hensuutable 149 { 150 int max; 151 int count; 152 struct hensuset *point; 153 int size; 154 letter *org; 155 letter *next; 156 }; 157 extern struct hensuutable rk_hensuu; 158 159 struct hensuudeftable 160 { 161 int max; 162 int count; 163 letter **point; 164 }; 165 extern struct hensuudeftable rk_hensuudef; 166 167 struct matchpair 168 { 169 int hennum; 170 letter ltrmch; 171 }; 172 struct matchtable 173 { 174 int size; 175 struct matchpair *point; 176 }; 177 extern struct matchtable rk_henmatch; 178 #endif /* MULTI */ 179 180 extern letter *lptr; 181