/usr/include/wnn/wnnerror.h is in libwnn-dev 1.1.1~a021+cvs20130302-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | /*
* $Id: wnnerror.h,v 1.5 2005/04/10 15:26:37 aonoto Exp $
*/
/*
* FreeWnn is a network-extensible Kana-to-Kanji conversion system.
* This file is part of FreeWnn.
*
* Copyright Kyoto University Research Institute for Mathematical Sciences
* 1987, 1988, 1989, 1990, 1991, 1992
* Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
* Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
* Copyright FreeWnn Project 1999, 2000
*
* Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef WNN_WNNERROR_H
#define WNN_WNNERROR_H
/* file ´Ø·¸¤Î¥¨¥é¡¼ */
#define WNN_FILE_READ_ERROR 90 /* ¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤à¤³¤È¤¬¤Ç¤¤Þ¤»¤ó¡£ */
#define WNN_FILE_WRITE_ERROR 91 /* ¥Õ¥¡¥¤¥ë¤ò½ñ¤½Ð¤¹¤³¤È¤¬¤Ç¤¤Þ¤»¤ó¡£ */
#define WNN_FID_ERROR 92 /* ¥¯¥é¥¤¥¢¥ó¥È¤ÎÆɤ߹þ¤ó¤À¥Õ¥¡¥¤¥ë¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ */
#define WNN_NO_MORE_FILE 93 /* ¤³¤ì°Ê¾å¥Õ¥¡¥¤¥ë¤òÆɤ߹þ¤à¤³¤È¤¬¤Ç¤¤Þ¤»¤ó¡£ */
#define WNN_INCORRECT_PASSWD 94 /* ¥Ñ¥¹¥ï¡¼¥É¤¬´Ö°ã¤Ã¤Æ¤¤¤Þ¤¹¡£ */
#define WNN_FILE_IN_USE 95 /* ¥Õ¥¡¥¤¥ë¤¬Æɤ߹þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£ */
#define WNN_UNLINK 96 /* ¥Õ¥¡¥¤¥ë¤¬ºï½ü¤Ç¤¤Þ¤»¤ó¡£ */
#define WNN_FILE_CREATE_ERROR 97 /* ¥Õ¥¡¥¤¥ë¤¬ºîÀ®½ÐÍè¤Þ¤»¤ó¡£ */
#define WNN_NOT_A_FILE 98 /*£×£î£î¤Î¥Õ¥¡¥¤¥ë¤Ç¤¢¤ê¤Þ¤»¤ó¡£ */
#define WNN_INODE_CHECK_ERROR 99 /* ¥Õ¥¡¥¤¥ë¤ÎI-node¤ÈFILE_UNIQ¤ò°ìÃפµ¤»¤ë»ö¤¬¤Ç¤¤Þ¤»¤ó¡£ */
/* V3 */
/* ¼½ñÄɲôط¸¤Î¥¨¥é¡¼ */
#define WNN_NO_EXIST 1 /*¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Þ¤»¤ó¡£ */
#define WNN_MALLOC_ERR 3 /*¥á¥â¥êalloc¤Ç¼ºÇÔ¤·¤Þ¤·¤¿¡£ */
#define WNN_NOT_A_DICT 5 /*¼½ñ¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ */
#define WNN_NOT_A_HINDO_FILE 6 /*ÉÑÅÙ¥Õ¥¡¥¤¥ë¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ */
#define WNN_NOT_A_FUZOKUGO_FILE 7 /*ÉÕ°¸ì¥Õ¥¡¥¤¥ë¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ */
#define WNN_JISHOTABLE_FULL 9 /*¼½ñ¥Æ¡¼¥Ö¥ë¤¬°ìÇդǤ¹¡£ */
#define WNN_HINDO_NO_MATCH 10 /*ÉÑÅÙ¥Õ¥¡¥¤¥ë¤¬¡¢»ØÄꤵ¤ì¤¿¼½ñ¤Î
ÉÑÅÙ¥Õ¥¡¥¤¥ë¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ */
#define WNN_OPENF_ERR 16 /*¥Õ¥¡¥¤¥ë¤¬¥ª¡¼¥×¥ó¤Ç¤¤Þ¤»¤ó¡£ */
#define WNN_NOT_HINDO_FILE 17 /*Àµ¤·¤¤ÉÑÅÙ¥Õ¥¡¥¤¥ë¤Ç¤¢¤ê¤Þ¤»¤ó¡£ */
#define WNN_NOT_FZK_FILE 18 /*Àµ¤·¤¤ÉÕ°¸ì¥Õ¥¡¥¤¥ë¤Ç¤¢¤ê¤Þ¤»¤ó¡£ */
#define WNN_FZK_TOO_DEF 19 /*ÉÕ°¸ì¤Î¸Ä¿ô¡¢¥Ù¥¯¥¿Ä¹¤µ¤Ê¤É¤¬
¿²á¤®¤Þ¤¹ */
/* ¼½ñºï½ü´Ø·¸¤Î¥¨¥é¡¼ */
#define WNN_DICT_NOT_USED 20 /*¤½¤ÎÈÖ¹æ¤Î¼½ñ¤Ï¡¢»È¤ï¤ì¤Æ¤¤¤Þ¤»¤ó¡£ */
/* ÊÑ´¹»þ¤Î¥¨¥é¡¼ */
#define WNN_BAD_FZK_FILE 24 /*ÉÕ°¸ì¥Õ¥¡¥¤¥ë¤ÎÆâÍƤ¬Àµ¤·¤¯¤¢¤ê¤Þ¤»¤ó */
#define WNN_GIJI_HINSI_ERR 25 /*µ¿»÷ÉÊ»ìÈֹ椬°Û¾ï¤Ç¤¹
hinsi.data¤¬Àµ¤·¤¯¤¢¤ê¤Þ¤»¤ó */
#define WNN_NO_DFE_HINSI 26 /*̤ÄêµÁ¤ÎÉʻ줬Á°Ã¼ÉÊ»ì¤È¤·¤Æ
ÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤¹ Not Used */
#define WNN_FZK_FILE_NO_LOAD 27 /*ÉÕ°¸ì¥Õ¥¡¥¤¥ë¤¬Æɤ߹þ¤Þ¤ì¤Æ¤¤¤Þ¤»¤ó */
/* jishobiki.c */
#define WNN_DIC_ENTRY_FULL 30 /*¼½ñ¤Î¥¨¥¤¥ó¥È¥ê¤¬Â¿²á¤®¤Þ¤¹¡£ */
#define WNN_LONG_MOJIRETSU 31 /*ÊÑ´¹¤·¤è¤¦¤È¤¹¤ëʸ»úÎó¤¬Ä¹²á¤®¤Þ¤¹¡£ */
#define WNN_WKAREA_FULL 32 /*ÉÕ°¸ì²òÀÏÎΰ褬ÉÔ¤·¤Æ¤¤¤Þ¤¹¡£ */
#define WNN_JKTAREA_FULL 34 /*¼¡¸õÊäÎΰ褬ÉÔ¤·¤Æ¤¤¤Þ¤¹¡£ */
#define WNN_NO_KOUHO 35 /*¸õÊ䤬 1 ¤Ä¤âºî¤ì¤Þ¤»¤ó¤Ç¤·¤¿ */
/* ñ¸ìÅÐÏ¿»þ¤Î¥¨¥é¡¼ */
#define WNN_YOMI_LONG 40 /*Æɤߤ¬Ä¹²á¤®¤Þ¤¹¡£ */
#define WNN_KANJI_LONG 41 /*´Á»ú¤¬Ä¹²á¤®¤Þ¤¹¡£ */
#define WNN_NOT_A_UD 42 /*»ØÄꤵ¤ì¤¿¼½ñ¤Ï¡¢ÅÐÏ¿²Äǽ¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ */
#define WNN_NO_YOMI 43 /*ÆɤߤÎŤµ¤¬0¤Ç¤¹¡£ */
#define WNN_NOT_A_REV 44 /*»ØÄꤵ¤ì¤¿¼½ñ¤Ï¡¢µÕ°ú¤²Äǽ¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ */
#define WNN_RDONLY 45 /*¥ê¡¼¥É¥ª¥ó¥ê¡¼¤Î¼½ñ¤ËÅÐÏ¿¤·¤è¤¦¤È¤·¤Þ¤·¤¿¡£ */
#define WNN_DICT_NOT_IN_ENV 46 /*´Ä¶¤Ë¸ºß¤·¤Ê¤¤¼½ñ¤ËÅÐÏ¿¤·¤è¤¦¤È¤·¤Þ¤·¤¿¡£ */
/* ÉÑÅÙ¹¹¿·¤Î¥¨¥é¡¼ */
#define WNN_RDONLY_HINDO 49 /* ¥ê¡¼¥É¥ª¥ó¥ê¡¼¤ÎÉÑÅÙ¤òÊѹ¹¤·¤è¤¦¤È¤·¤Þ¤·¤¿¡£ */
/* ñ¸ìºï½ü»þ¡¢ÉÊ»ìºï½ü»þ¤Î¥¨¥é¡¼ */
/*
WNN_RDONLY
*/
#define WNN_WORD_NO_EXIST 50 /*»ØÄꤵ¤ì¤¿Ã±¸ì¤¬Â¸ºß¤·¤Þ¤»¤ó¡£ */
/* ½é´ü²½¤Î»þ¤Î¥¨¥é¡¼ */
#define WNN_MALLOC_INITIALIZE 60 /*¥á¥â¥êalloc¤Ç¼ºÇÔ¤·¤Þ¤·¤¿¡£ */
#define WNN_SOME_ERROR 68 /* ²¿¤«¤Î¥¨¥é¡¼¤¬µ¯¤³¤ê¤Þ¤·¤¿¡£ */
#define WNN_SONOTA 69 /*¥Ð¥°¤¬È¯À¸¤·¤Æ¤¤¤ëÌÏÍͤǤ¹¡£Not Used */
#define WNN_JSERVER_DEAD 70 /*¥µ¡¼¥Ð¤¬»à¤ó¤Ç¤¤¤Þ¤¹¡£(jlib) */
#define WNN_ALLOC_FAIL 71 /*alloc¤Ë¼ºÇÔ(jlib) */
#define WNN_SOCK_OPEN_FAIL 72 /*jd_begin¤Çsocket¤Îopen¤Ë¼ºÇÔ(jlib) */
#define WNN_BAD_VERSION 73 /*ÄÌ¿®¥×¥í¥È¥³¥ë¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¹ç¤Ã¤Æ¤¤¤Þ¤»¤ó¡£ */
#define WNN_BAD_ENV 74 /*¥¯¥é¥¤¥¢¥ó¥È¤ÎÀ¸À®¤·¤¿´Ä¶¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ */
#define WNN_MKDIR_FAIL 80 /* ¥Ç¥£¥ì¥¯¥È¥ê¤òºî¤ê»¤Ê¤Ã¤¿ */
/*ÉÊ»ì¥Õ¥¡¥¤¥ë */
#define WNN_TOO_BIG_HINSI_FILE 100 /*ÉÊ»ì¥Õ¥¡¥¤¥ë¤¬Â礲᤮¤Þ¤¹¡£ */
#define WNN_TOO_LONG_HINSI_FILE_LINE 101 /*ÉÊ»ì¥Õ¥¡¥¤¥ë¤¬Â礲᤮¤Þ¤¹¡£ */
#define WNN_NO_HINSI_DATA_FILE 102 /*ÉÊ»ì¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Þ¤»¤ó¡£ */
#define WNN_BAD_HINSI_FILE 103 /*ÉÊ»ì¥Õ¥¡¥¤¥ë¤ÎÆâÍƤ¬´Ö°ã¤Ã¤Æ¤¤¤Þ¤¹¡£ */
#define WNN_HINSI_NOT_LOADED 105 /* ÉÊ»ì¥Õ¥¡¥¤¥ë¤¬Æɤ߹þ¤Þ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ */
#define WNN_BAD_HINSI_NAME 106 /* ÉÊ»ì̾¤¬´Ö°ã¤Ã¤Æ¤¤¤Þ¤¹ */
#define WNN_BAD_HINSI_NO 107 /* ÉÊ»ìÈֹ椬´Ö°ã¤Ã¤Æ¤¤¤Þ¤¹ */
#define NOT_SUPPORTED_OPERATION 109 /*¤½¤ÎÁàºî¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤»¤óNot Used */
/*
*
* jl ¡Ê¹â¿å½à¥é¥¤¥Ö¥é¥ê¡Ë¤Î¥¨¥é¡¼
*
*/
#define WNN_CANT_OPEN_PASSWD_FILE 110 /* ¥Ñ¥¹¥ï¡¼¥É¤ÎÆþ¤Ã¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤¬
¥ª¡¼¥×¥ó¤Ç¤¤Þ¤»¤ó(jl) */
/* ½é´ü²½»þ¤Î¥¨¥é¡¼ */
#define WNN_RC_FILE_NO_EXIST 111 /* uumrc¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Þ¤»¤ó(jl) Not Used */
#define WNN_RC_FILE_BAD_FORMAT 112 /* uumrc¥Õ¥¡¥¤¥ë¤Î·Á¼°¤¬¸í¤Ã¤Æ¤¤¤Þ¤¹(jl)Not Used */
#define WNN_NO_MORE_ENVS 113 /* ¤³¤ì°Ê¾å´Ä¶¤òºî¤ë¤³¤È¤Ï½ÐÍè¤Þ¤»¤ó¡£ */
#define WNN_FILE_NOT_READ_FROM_CLIENT 114 /* ¤³¤Î¥¯¥é¥¤¥¢¥ó¥È¤¬Æɤ߹þ¤ó¤À¥Õ¥¡¥¤¥ë¤Ç¤¢¤ê¤Þ¤»¤ó¡£ */
#define WNN_NO_HINDO_FILE 115 /* ¼½ñ¤ËÉÑÅÙ¥Õ¥¡¥¤¥ë¤¬¤Ä¤¤¤Æ¤¤¤Þ¤»¤ó¡£ */
#define WNN_CANT_CREATE_PASSWD_FILE 116 /*¥Ñ¥¹¥ï¡¼¥É¤Î¥Õ¥¡¥¤¥ë¤¬ºîÀ®½ÐÍè¤Þ¤»¤ó¡£ */
#endif /* WNN_WNNERROR_H */
|