1 /*
2  *  $Id: wnnerror.h,v 1.5 2005/04/10 15:26:37 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 #ifndef WNN_WNNERROR_H
34 #define WNN_WNNERROR_H
35 
36 /* file �ط��Υ��顼 */
37 #define WNN_FILE_READ_ERROR     90      /* �ե�������ɤ߹��ळ�Ȥ��Ǥ��ޤ��� */
38 #define WNN_FILE_WRITE_ERROR    91      /* �ե��������Ф����Ȥ��Ǥ��ޤ��� */
39 #define WNN_FID_ERROR           92      /* ���饤����Ȥ��ɤ߹�����ե�����ǤϤ���ޤ��� */
40 #define WNN_NO_MORE_FILE        93      /* ����ʾ�ե�������ɤ߹��ळ�Ȥ��Ǥ��ޤ��� */
41 #define WNN_INCORRECT_PASSWD    94      /* �ѥ���ɤ��ְ�äƤ��ޤ��� */
42 #define WNN_FILE_IN_USE         95      /* �ե����뤬�ɤ߹��ޤ�Ƥ��ޤ��� */
43 #define WNN_UNLINK              96      /* �ե����뤬����Ǥ��ޤ��� */
44 #define WNN_FILE_CREATE_ERROR   97      /* �ե����뤬��������ޤ��� */
45 #define WNN_NOT_A_FILE          98      /*�ף��Υե�����Ǥ���ޤ��� */
46 #define WNN_INODE_CHECK_ERROR   99      /* �ե������I-node��FILE_UNIQ����פ���������Ǥ��ޤ��� */
47 
48 /*      V3      */
49 /* �����ɲôط��Υ��顼 */
50 #define WNN_NO_EXIST            1       /*�ե����뤬¸�ߤ��ޤ��� */
51 #define WNN_MALLOC_ERR          3       /*����alloc�Ǽ��Ԥ��ޤ����� */
52 #define WNN_NOT_A_DICT          5       /*����ǤϤ���ޤ��� */
53 #define WNN_NOT_A_HINDO_FILE    6       /*���٥ե�����ǤϤ���ޤ��� */
54 #define WNN_NOT_A_FUZOKUGO_FILE 7       /*��°��ե�����ǤϤ���ޤ��� */
55 #define WNN_JISHOTABLE_FULL     9       /*����ơ��֥뤬���դǤ��� */
56 #define WNN_HINDO_NO_MATCH      10      /*���٥ե����뤬�����ꤵ�줿�����
57                                            ���٥ե�����ǤϤ���ޤ��� */
58 #define WNN_OPENF_ERR           16      /*�ե����뤬�����ץ�Ǥ��ޤ��� */
59 #define WNN_NOT_HINDO_FILE      17      /*���������٥ե�����Ǥ���ޤ��� */
60 #define WNN_NOT_FZK_FILE        18      /*��������°��ե�����Ǥ���ޤ��� */
61 #define WNN_FZK_TOO_DEF         19      /*��°��θĿ����٥���Ĺ���ʤɤ�
62                                            ¿�᤮�ޤ� */
63 /* �������ط��Υ��顼 */
64 #define WNN_DICT_NOT_USED       20      /*�����ֹ�μ���ϡ��Ȥ��Ƥ��ޤ��� */
65 
66 /* �Ѵ����Υ��顼 */
67 #define WNN_BAD_FZK_FILE  24    /*��°��ե���������Ƥ�����������ޤ��� */
68 #define WNN_GIJI_HINSI_ERR      25      /*�����ʻ��ֹ椬�۾�Ǥ�
69                                            hinsi.data������������ޤ��� */
70 #define WNN_NO_DFE_HINSI        26      /*̤������ʻ줬��ü�ʻ�Ȥ���
71                                            �������Ƥ��ޤ� Not Used */
72 #define WNN_FZK_FILE_NO_LOAD    27      /*��°��ե����뤬�ɤ߹��ޤ�Ƥ��ޤ��� */
73 
74 /* jishobiki.c */
75 #define WNN_DIC_ENTRY_FULL      30      /*����Υ�����ȥ꤬¿�᤮�ޤ��� */
76 #define WNN_LONG_MOJIRETSU      31      /*�Ѵ����褦�Ȥ���ʸ����Ĺ�᤮�ޤ��� */
77 #define WNN_WKAREA_FULL         32      /*��°������ΰ褬��­���Ƥ��ޤ��� */
78 #define WNN_JKTAREA_FULL        34      /*�������ΰ褬��­���Ƥ��ޤ��� */
79 #define WNN_NO_KOUHO            35      /*���䤬 1 �Ĥ���ޤ���Ǥ��� */
80 
81 /* ñ����Ͽ���Υ��顼 */
82 #define WNN_YOMI_LONG           40      /*�ɤߤ�Ĺ�᤮�ޤ��� */
83 #define WNN_KANJI_LONG          41      /*������Ĺ�᤮�ޤ��� */
84 #define WNN_NOT_A_UD            42      /*���ꤵ�줿����ϡ���Ͽ��ǽ�ǤϤ���ޤ��� */
85 #define WNN_NO_YOMI             43      /*�ɤߤ�Ĺ����0�Ǥ��� */
86 #define WNN_NOT_A_REV           44      /*���ꤵ�줿����ϡ��հ�����ǽ�ǤϤ���ޤ��� */
87 #define WNN_RDONLY              45      /*�꡼�ɥ���꡼�μ������Ͽ���褦�Ȥ��ޤ����� */
88 #define WNN_DICT_NOT_IN_ENV     46      /*�Ķ���¸�ߤ��ʤ��������Ͽ���褦�Ȥ��ޤ����� */
89 
90 /* ���ٹ����Υ��顼 */
91 #define WNN_RDONLY_HINDO        49      /* �꡼�ɥ���꡼�����٤��ѹ����褦�Ȥ��ޤ����� */
92 
93 /* ñ���������ʻ������Υ��顼 */
94 /*
95 WNN_RDONLY
96 */
97 #define WNN_WORD_NO_EXIST       50      /*���ꤵ�줿ñ�줬¸�ߤ��ޤ��� */
98 
99 /* ������λ��Υ��顼 */
100 #define WNN_MALLOC_INITIALIZE   60      /*����alloc�Ǽ��Ԥ��ޤ����� */
101 
102 #define WNN_SOME_ERROR          68      /* �����Υ��顼��������ޤ����� */
103 #define WNN_SONOTA              69      /*�Х���ȯ�����Ƥ������ͤǤ���Not Used */
104 #define WNN_JSERVER_DEAD        70      /*�����Ф����Ǥ��ޤ���(jlib) */
105 #define WNN_ALLOC_FAIL          71      /*alloc�˼���(jlib) */
106 #define WNN_SOCK_OPEN_FAIL      72      /*jd_begin��socket��open�˼���(jlib) */
107 #define WNN_BAD_VERSION         73      /*�̿��ץ�ȥ���ΥС��������äƤ��ޤ��� */
108 #define WNN_BAD_ENV             74      /*���饤����Ȥ����������Ķ��ǤϤ���ޤ��� */
109 
110 #define WNN_MKDIR_FAIL          80      /* �ǥ��쥯�ȥ����»�ʤä� */
111 
112 
113 /*�ʻ�ե����� */
114 #define WNN_TOO_BIG_HINSI_FILE 100      /*�ʻ�ե����뤬�礭�᤮�ޤ��� */
115 #define WNN_TOO_LONG_HINSI_FILE_LINE 101        /*�ʻ�ե����뤬�礭�᤮�ޤ��� */
116 #define WNN_NO_HINSI_DATA_FILE 102      /*�ʻ�ե����뤬¸�ߤ��ޤ��� */
117 #define WNN_BAD_HINSI_FILE 103  /*�ʻ�ե���������Ƥ��ְ�äƤ��ޤ��� */
118 
119 #define WNN_HINSI_NOT_LOADED 105        /* �ʻ�ե����뤬�ɤ߹��ޤ�Ƥ��ޤ��� */
120 #define WNN_BAD_HINSI_NAME 106  /* �ʻ�̾���ְ�äƤ��ޤ� */
121 #define WNN_BAD_HINSI_NO 107    /* �ʻ��ֹ椬�ְ�äƤ��ޤ� */
122 
123 #define NOT_SUPPORTED_OPERATION 109     /*�������ϥ��ݡ��Ȥ���Ƥ��ޤ���Not Used */
124 
125 /*
126  *
127  *  jl �ʹ���饤�֥��ˤΥ��顼
128  *
129  */
130 
131 #define WNN_CANT_OPEN_PASSWD_FILE 110   /* �ѥ���ɤ����äƤ���ե����뤬
132                                            �����ץ�Ǥ��ޤ���(jl) */
133 /* ��������Υ��顼  */
134 #define WNN_RC_FILE_NO_EXIST 111        /* uumrc�ե����뤬¸�ߤ��ޤ���(jl) Not Used */
135 #define WNN_RC_FILE_BAD_FORMAT 112      /* uumrc�ե�����η�������äƤ��ޤ�(jl)Not Used */
136 #define WNN_NO_MORE_ENVS  113   /* ����ʾ�Ķ����뤳�ȤϽ���ޤ��� */
137 #define WNN_FILE_NOT_READ_FROM_CLIENT 114       /* ���Υ��饤����Ȥ��ɤ߹�����ե�����Ǥ���ޤ��� */
138 #define WNN_NO_HINDO_FILE 115   /* ��������٥ե����뤬�Ĥ��Ƥ��ޤ��� */
139 
140 #define WNN_CANT_CREATE_PASSWD_FILE 116 /*�ѥ���ɤΥե����뤬��������ޤ��� */
141 
142 #endif  /* WNN_WNNERROR_H */
143