comparison Wnn/romkan/rk_extvars.h @ 0:bbc77ca4def5

initial import
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 13 Dec 2007 04:30:14 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:bbc77ca4def5
1 /*
2 * $Id: rk_extvars.h,v 1.4 2005/04/10 15:26:38 aonoto 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 * Copyright FreeWnn Project 1999, 2000
14 *
15 * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
16 *
17 * This library is free software; you can redistribute it and/or
18 * modify it under the terms of the GNU Lesser General Public
19 * License as published by the Free Software Foundation; either
20 * version 2 of the License, or (at your option) any later version.
21 *
22 * This library is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25 * Lesser General Public License for more details.
26 *
27 * You should have received a copy of the GNU Lesser General Public
28 * License along with this library; if not, write to the
29 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
30 * Boston, MA 02111-1307, USA.
31 */
32
33 /***********************************************************************
34 rk_extvars.h
35 88. 6.16 訂 補
36
37 二つ以上のファイルにまたがって使われる変数のextern宣言。
38 本体はrk_vars.cで定義。
39 ***********************************************************************/
40 /* Version 3.0
41 */
42 extern char rk_errstat;
43
44 extern int flags;
45 extern jmp_buf env0;
46
47 extern FILE *modefile;
48 extern char nulstr[];
49
50 extern char *hcurread, *mcurread, *curfnm, *curdir;
51 extern letter *ltrbufbgn;
52 extern FILE *nestfile[], **base;
53
54 extern struct modestat
55 {
56 modetyp moderng; /* モードの状態の最大値+1 */
57 modetyp curmode; /* モードの状態 */
58 }
59 modesw[];
60
61 extern char hyoshu[];
62 extern char **modmeiptr, *modmeibgn[], *modmeimem, modmeimem_[];
63 extern char **dspnamptr, *dspnambgn[], *dspcod, dspcod_[], *dspmod[][2];
64
65 extern char **hyomeiorg, **hyomeiptr, *hyomeimem;
66 extern char **pathmeiorg, **pathmeiptr, *pathareaorg, *pathmeimem;
67
68 extern int usemaehyo[], usehyo[], useatohyo[], naibu_[], *naibu;
69
70 extern letter *lptr;
71 extern letter rk_input, disout[], rk_output[], keybuf[], urabuf[];
72 extern int lastoutlen, lastkbflen;
73 extern letter oneletter[], nil[];
74 extern int hyonum;
75
76 extern struct funstr /* 組み込み関数の性質を保持するstruct */
77 {
78 char *fnname; /* 関数名 */
79 char appear; /* 入力コード部・出力コード部・バッファ残り部
80 に書けるかどうかのフラグ3ビット */
81 char argnum; /* 引数の個数 */
82 char fntype; /* 結果のタイプ */
83 }
84 rk_funstr;
85
86 extern struct dat /* 入力・出力・バッファ残り部へのポインタ */
87 {
88 letter *code[3];
89 }
90 rk_dat;
91
92 extern struct hyo
93 /* 一つの対応表の、変換データ及び各変数の変域の、格納場所へのポインタ。*/
94 {
95 struct dat *data;
96 letter **hensudef;
97 }
98 rk_hyo;
99
100 extern struct funstr func[];
101 extern struct hyo hyo_n[];