1 /* 2 * $Id: wnnerror.h,v 2.13.2.1 2000/08/04 05:37:17 kaneda Exp $ 3 */ 4 5 /* 6 WNN6 CLIENT LIBRARY--SOFTWARE LICENSE TERMS AND CONDITIONS 7 8 9 Wnn6 Client Library : 10 (C) Copyright OMRON Corporation. 1995,1998,2000 all rights reserved. 11 (C) Copyright OMRON Software Co., Ltd. 1995,1998,2000 all rights reserved. 12 13 Wnn Software : 14 (C) Copyright Kyoto University Research Institute for Mathematical Sciences 15 1987, 1988, 1989, 1990, 1991, 1992, 1993 16 (C) Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1993 17 (C) Copyright ASCTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992, 1993 18 19 Preamble 20 21 These Wnn6 Client Library--Software License Terms and Conditions 22 (the "License Agreement") shall state the conditions under which you are 23 permitted to copy, distribute or modify the software which can be used 24 to create Wnn6 Client Library (the "Wnn6 Client Library"). The License 25 Agreement can be freely copied and distributed verbatim, however, you 26 shall NOT add, delete or change anything on the License Agreement. 27 28 OMRON Corporation and OMRON Software Co., Ltd. (collectively referred to 29 as "OMRON") jointly developed the Wnn6 Software (development code name 30 is FI-Wnn), based on the Wnn Software. Starting from November, 1st, 1998, 31 OMRON publishes the source code of the Wnn6 Client Library, and OMRON 32 permits anyone to copy, distribute or change the Wnn6 Client Library under 33 the License Agreement. 34 35 Wnn6 Client Library is based on the original version of Wnn developed by 36 Kyoto University Research Institute for Mathematical Sciences (KURIMS), 37 OMRON Corporation and ASTEC Inc. 38 39 Article 1. Definition. 40 41 "Source Code" means the embodiment of the computer code, readable and 42 understandable by a programmer of ordinary skills. It includes related 43 source code level system documentation, comments and procedural code. 44 45 "Object File" means a file, in substantially binary form, which is directly 46 executable by a computer after linking applicable files. 47 48 "Library" means a file, composed of several Object Files, which is directly 49 executable by a computer after linking applicable files. 50 51 "Software" means a set of Source Code including information on its use. 52 53 "Wnn6 Client Library" the computer program, originally supplied by OMRON, 54 which can be used to create Wnn6 Client Library. 55 56 "Executable Module" means a file, created after linking Object Files or 57 Library, which is directly executable by a computer. 58 59 "User" means anyone who uses the Wnn6 Client Library under the License 60 Agreement. 61 62 Article 2. Copyright 63 64 2.1 OMRON Corporation and OMRON Software Co., Ltd. jointly own the Wnn6 65 Client Library, including, without limitation, its copyright. 66 67 2.2 Following words followed by the above copyright notices appear 68 in all supporting documentation of software based on Wnn6 Client Library: 69 70 This software is based on the original version of Wnn6 Client Library 71 developed by OMRON Corporation and OMRON Software Co., Ltd. and also based on 72 the original version of Wnn developed by Kyoto University Research Institute 73 for Mathematical Sciences (KURIMS), OMRON Corporation and ASTEC Inc. 74 75 Article 3. Grant 76 77 3.1 A User is permitted to make and distribute verbatim copies of 78 the Wnn6 Client Library, including verbatim of copies of the License 79 Agreement, under the License Agreement. 80 81 3.2 A User is permitted to modify the Wnn6 Client Library to create 82 Software ("Modified Software") under the License Agreement. A User 83 is also permitted to make or distribute copies of Modified Software, 84 including verbatim copies of the License Agreement with the following 85 information. Upon modifying the Wnn6 Client Library, a User MUST insert 86 comments--stating the name of the User, the reason for the modifications, 87 the date of the modifications, additional terms and conditions on the 88 part of the modifications if there is any, and potential risks of using 89 the Modified Software if they are known--right after the end of the 90 License Agreement (or the last comment, if comments are inserted already). 91 92 3.3 A User is permitted to create Library or Executable Modules by 93 modifying the Wnn6 Client Library in whole or in part under the License 94 Agreement. A User is also permitted to make or distribute copies of 95 Library or Executable Modules with verbatim copies of the License 96 Agreement under the License Agreement. Upon modifying the Wnn6 Client 97 Library for creating Library or Executable Modules, except for porting 98 a computer, a User MUST add a text file to a package of the Wnn6 Client 99 Library, providing information on the name of the User, the reason for 100 the modifications, the date of the modifications, additional terms and 101 conditions on the part of the modifications if there is any, and potential 102 risks associated with using the modified Wnn6 Client Library, Library or 103 Executable Modules if they are known. 104 105 3.4 A User is permitted to incorporate the Wnn6 Client Library in whole 106 or in part into another Software, although its license terms and 107 conditions may be different from the License Agreement, if such 108 incorporation or use associated with the incorporation does NOT violate 109 the License Agreement. 110 111 Article 4. Warranty 112 113 THE WNN6 CLIENT LIBRARY IS PROVIDED BY OMRON ON AN "AS IS" BAISIS. 114 OMRON EXPRESSLY DISLCIAMS ANY AND ALL WRRANTIES, EXPRESS OR IMPLIED, 115 INCLUDING, WITHOUT LIMITATION, WARRANTIES OF MERCHANTABILITY AND FITNESS 116 FOR A PARTICULAR PURPOSE, IN CONNECTION WITH THE WNN6 CLIENT LIBRARY 117 OR THE USE OR OTHER DEALING IN THE WNN6 CLIENT LIBRARY. IN NO EVENT 118 SHALL OMRON BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE 119 OR CONSEQUENTIAL DAMAGES OF ANY KIND WHATSOEVER IN CONNECTION WITH THE 120 WNN6 CLIENT LIBRARY OR THE USE OR OTHER DEALING IN THE WNN6 CLIENT 121 LIBRARY. 122 123 *************************************************************************** 124 Wnn6 Client Library : 125 (C) Copyright OMRON Corporation. 1995,1998,2000 all rights reserved. 126 (C) Copyright OMRON Software Co., Ltd. 1995,1998,2000 all rights reserved. 127 128 Wnn Software : 129 (C) Copyright Kyoto University Research Institute for Mathematical Sciences 130 1987, 1988, 1989, 1990, 1991, 1992, 1993 131 (C) Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1993 132 (C) Copyright ASCTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992, 1993 133 *************************************************************************** 134 135 Comments on Modifications: 136 */ 137 138 /* Version 4.0 139 */ 140 #ifndef _WNNERROR_H_ 141 #define _WNNERROR_H_ 142 143 /* file �ط��Υ��顼 */ 144 #define WNN_FILE_READ_ERROR 90 /* �ե�������ɤ߹��ळ�Ȥ��Ǥ��ޤ��� */ 145 #define WNN_FILE_WRITE_ERROR 91 /* �ե������Ф����Ȥ��Ǥ��ޤ��� */ 146 #define WNN_FID_ERROR 92 /* ���饤����Ȥ��ɤ߹�����ե�����ǤϤ���ޤ��� */ 147 #define WNN_NO_MORE_FILE 93 /* ����ʾ�ե�������ɤ߹��ळ�Ȥ��Ǥ��ޤ���*/ 148 #define WNN_INCORRECT_PASSWD 94 /* �ѥ���ɤ��ְ�äƤ��ޤ��� */ 149 #define WNN_FILE_IN_USE 95 /* �ե����뤬�ɤ߹��ޤ�Ƥ��ޤ��� */ 150 #define WNN_UNLINK 96 /* �ե����뤬����Ǥ��ޤ��� */ 151 #define WNN_FILE_CREATE_ERROR 97 /* �ե����뤬��������ޤ���*/ 152 #define WNN_NOT_A_FILE 98 /*�ף��Υե�����Ǥ���ޤ���*/ 153 #define WNN_INODE_CHECK_ERROR 99 /* �ե������I-node��FILE_UNIQ����פ���������Ǥ��ޤ��� */ 154 155 /* V3 */ 156 /* �����ɲôط��Υ��顼 */ 157 #define WNN_NO_EXIST 1 /*�ե����뤬¸�ߤ��ޤ���*/ 158 #define WNN_MALLOC_ERR 3 /* �������ݤǤ��ޤ��� */ 159 #define WNN_NOT_A_DICT 5 /*����ǤϤ���ޤ���*/ 160 #define WNN_NOT_A_HINDO_FILE 6 /*���٥ե�����ǤϤ���ޤ���*/ 161 #define WNN_NOT_A_FUZOKUGO_FILE 7 /*��°��ե�����ǤϤ���ޤ���*/ 162 #define WNN_JISHOTABLE_FULL 9 /*����ơ��֥뤬���դǤ���*/ 163 #define WNN_HINDO_NO_MATCH 10 /*���٥ե����뤬�����ꤵ�줿����� 164 ���٥ե�����ǤϤ���ޤ���*/ 165 #define WNN_OPENF_ERR 16 /*�ե����뤬�����ץ�Ǥ��ޤ���*/ 166 #define WNN_NOT_HINDO_FILE 17 /*���������٥ե�����Ǥ���ޤ���*/ 167 #define WNN_NOT_FZK_FILE 18 /*��������°��ե�����Ǥ���ޤ���*/ 168 #define WNN_FZK_TOO_DEF 19 /*��°��θĿ����٥���Ĺ���ʤɤ� 169 ¿��ޤ�*/ 170 /* �������ط��Υ��顼 */ 171 #define WNN_DICT_NOT_USED 20 /*�����ֹ�μ���ϡ��Ȥ��Ƥ��ޤ���*/ 172 173 /* �Ѵ����Υ��顼 */ 174 #define WNN_BAD_FZK_FILE 24 /*��°��ե���������Ƥ�����������ޤ���*/ 175 #define WNN_GIJI_HINSI_ERR 25 /*�����ʻ��ֹ椬�۾�Ǥ� 176 hinsi.data������������ޤ���*/ 177 #define WNN_NO_DFE_HINSI 26 /*̤������ʻ줬��ü�ʻ�Ȥ��� 178 �������Ƥ��ޤ� Not Used*/ 179 #define WNN_FZK_FILE_NO_LOAD 27 /*��°��ե����뤬�ɤ߹��ޤ�Ƥ��ޤ���*/ 180 181 /* jishobiki.c */ 182 #define WNN_DIC_ENTRY_FULL 30 /*����Υ�����ȥ꤬¿��ޤ���*/ 183 #define WNN_LONG_MOJIRETSU 31 /*�Ѵ����褦�Ȥ���ʸ����Ĺ��ޤ���*/ 184 #define WNN_WKAREA_FULL 32 /*��°������ΰ褬�����Ƥ��ޤ���*/ 185 #define WNN_JKTAREA_FULL 34 /* ���䤬¿��Ƽ����䤬���Ф��ޤ��� */ 186 #define WNN_NO_KOUHO 35 /*���䤬 1 �Ĥ���ޤ���Ǥ���*/ 187 188 /* ñ����Ͽ���Υ��顼 */ 189 #define WNN_YOMI_LONG 40 /*�ɤߤ�Ĺ��ޤ���*/ 190 #define WNN_KANJI_LONG 41 /*������Ĺ��ޤ���*/ 191 #define WNN_NOT_A_UD 42 /*���ꤵ�줿����ϡ���Ͽ��ǽ�ǤϤ���ޤ���*/ 192 #define WNN_NO_YOMI 43 /*�ɤߤ�Ĺ����0�Ǥ���*/ 193 #define WNN_NOT_A_REV 44 /*���ꤵ�줿����ϡ��հ�����ǽ�ǤϤ���ޤ���*/ 194 #define WNN_RDONLY 45 /*��ɥ����μ������Ͽ���褦�Ȥ��ޤ�����*/ 195 #define WNN_DICT_NOT_IN_ENV 46 /*�Ķ���¸�ߤ��ʤ��������Ͽ���褦�Ȥ��ޤ�����*/ 196 197 /* ���ٹ����Υ��顼 */ 198 #define WNN_RDONLY_HINDO 49 /* ��ɥ��������٤��ѹ����褦�Ȥ��ޤ����� */ 199 200 /* ñ���������ʻ������Υ��顼 */ 201 /* 202 WNN_RDONLY 203 */ 204 #define WNN_WORD_NO_EXIST 50 /*���ꤵ�줿ñ�줬¸�ߤ��ޤ���*/ 205 206 /* ������λ��Υ��顼 */ 207 #define WNN_MALLOC_INITIALIZE 60 /* �������ݤǤ��ޤ��� */ 208 209 /* 210 * Errors are supported from 4.004 211 */ 212 #define WNN_ACCESS_DENIED 61 213 #define WNN_NOT_SUPPORT_PACKET 62 214 #define WNN_NOT_SUPPORT_EXTENSION 63 215 #define WNN_ACCESS_NO_HOST 64 216 #define WNN_ACCESS_NO_USER 65 217 #define WNN_NO_JSERVER 66 218 219 #define WNN_SOME_ERROR 68 /* �����Υ��顼��������ޤ�����*/ 220 #define WNN_SONOTA 69 /*�Х���ȯ�����Ƥ������ͤǤ���Not Used*/ 221 #define WNN_JSERVER_DEAD 70 /*�����Ф�ư��Ƥ��ޤ���(jlib)*/ 222 #define WNN_ALLOC_FAIL 71 /*�������ݤǤ��ޤ���(jlib)*/ 223 #define WNN_SOCK_OPEN_FAIL 72 /*jd_begin��socket��open�˼���(jlib)*/ 224 #define WNN_BAD_VERSION 73 /*�̿��ץ�ȥ���ΥС������äƤ��ޤ���*/ 225 #define WNN_BAD_ENV 74 /*���饤����Ȥ����������Ķ��ǤϤ���ޤ���*/ 226 227 #define WNN_MKDIR_FAIL 80 /* �ǥ��쥯�ȥ����»�ʤä� */ 228 229 230 /*�ʻ�ե����� */ 231 #define WNN_TOO_BIG_HINSI_FILE 100 /*�ʻ�ե����뤬�礭��ޤ���*/ 232 #define WNN_TOO_LONG_HINSI_FILE_LINE 101 /*�ʻ�ե����뤬�礭��ޤ���*/ 233 #define WNN_NO_HINSI_DATA_FILE 102 /*�ʻ�ե����뤬¸�ߤ��ޤ��� */ 234 #define WNN_BAD_HINSI_FILE 103 /*�ʻ�ե���������Ƥ��ְ�äƤ��ޤ���*/ 235 236 #define WNN_HINSI_NOT_LOADED 105 /* �ʻ�ե����뤬�ɤ߹��ޤ�Ƥ��ޤ���*/ 237 #define WNN_BAD_HINSI_NAME 106 /* �ʻ�̾���ְ�äƤ��ޤ� */ 238 #define WNN_BAD_HINSI_NO 107 /* �ʻ��ֹ椬�ְ�äƤ��ޤ� */ 239 240 #define NOT_SUPPORTED_OPERATION 109 /*�������ϥ��ݡ��Ȥ���Ƥ��ޤ���Not Used*/ 241 242 /* 243 * 244 * jl �ʹ���饤�֥��ˤΥ��顼 245 * 246 */ 247 248 #define WNN_CANT_OPEN_PASSWD_FILE 110 /* �ѥ���ɤ����äƤ���ե����뤬 249 �����ץ�Ǥ��ޤ���(jl) */ 250 /* ��������Υ��顼 */ 251 #define WNN_RC_FILE_NO_EXIST 111 /* uumrc�ե����뤬¸�ߤ��ޤ���(jl) Not Used*/ 252 #define WNN_RC_FILE_BAD_FORMAT 112 /* uumrc�ե�����η�������äƤ��ޤ�(jl)Not Used */ 253 #define WNN_NO_MORE_ENVS 113 /* ����ʾ�Ķ����뤳�ȤϽ���ޤ���*/ 254 #define WNN_FILE_NOT_READ_FROM_CLIENT 114 /* ���Υ��饤����Ȥ��ɤ߹�����ե�����Ǥ���ޤ���*/ 255 #define WNN_NO_HINDO_FILE 115 /* ��������٥ե����뤬�Ĥ��Ƥ��ޤ���*/ 256 257 #define WNN_CANT_CREATE_PASSWD_FILE 116 /*�ѥ���ɤΥե����뤬��������ޤ���*/ 258 259 /* 260 * Errors are supported from 4.F00 261 */ 262 #define WNN_TEMPORARY_ALREADY_ADD 500 /* The temporary dic is already added */ 263 #define WNN_TEMPORARY_ADD_FAILED 501 /* Addition of temporary dic failed */ 264 #define WNN_TEMPORARY_DELETE_FAILED 502 /* Deletion of temporary dic failed */ 265 266 267 /* 268 * WNNDS 269 */ 270 271 /* Errors about connection */ 272 #define WNN_DS_DEAD 1001 /* WNNDS is died */ 273 #define WNN_DS_BAD_VERSION 1002 /* dserver denied access */ 274 #define WNN_DS_ACCESS_DENIED 1003 /* dserver denied access */ 275 276 /* 277 * WNNDM 278 */ 279 #define WNN_DM_DEAD 2001 /* WNNDM is died */ 280 #define WNN_DM_BAD_VERSION 2002 281 282 /* 283 * Hideyuki Kishiba (Jul. 8, 1994) 284 * New error number for FI-Wnn 285 */ 286 /* �����ɲôط��Υ��顼 */ 287 #define WNN_NOT_A_FI_DICT 3001 /* �ƣɴط�����ǤϤ���ޤ��� */ 288 #define WNN_NOT_A_FI_HINDO 3002 /* �ƣɴط�����ǤϤ���ޤ��� */ 289 #define WNN_NOT_A_FI_SYSTEM 3003 /* ���ꤵ�줿����ϡ��ƣɴط������ƥ༭��ǤϤ���ޤ��� */ 290 #define WNN_NOT_A_FI_USER 3004 /* ���ꤵ�줿����ϡ��ƣɴط��桼������ǤϤ���ޤ��� */ 291 #define WNN_USE_OLD_FZK 3005 /* �Ť��С���������°��ե����뤬���ꤵ��Ƥ��ޤ� */ 292 #define NOT_SHARE_HINDO_FILE 3006 /* ���Ĥ����٥ե������ۤʤ뼭��֤Ƕ��Ѥ��褦�Ȥ��ޤ��� */ 293 294 /* offline �ؽ����Υ��顼 */ 295 #define WNN_LOCKED 3010 /* �����С�����å�����Ƥ��ޤ� */ 296 /* license server */ 297 #define WNN_NOT_LICENSE 3011 /* �饤���������Ǥ��ޤ���Ǥ��� */ 298 #endif /* _WNNERROR_H_ */ 299 /* 300 Local Variables: 301 kanji-flag: t 302 End: 303 */ 304