1 /*
2  * Copyright (c) 1991-1994  Sony Corporation
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining
5  * a copy of this software and associated documentation files (the
6  * "Software"), to deal in the Software without restriction, including
7  * without limitation the rights to use, copy, modify, merge, publish,
8  * distribute, sublicense, and/or sell copies of the Software, and to
9  * permit persons to whom the Software is furnished to do so, subject to
10  * the following conditions:
11  *
12  * The above copyright notice and this permission notice shall be
13  * included in all copies or substantial portions of the Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18  * IN NO EVENT SHALL SONY CORPORATION BE LIABLE FOR ANY CLAIM,
19  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
21  * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22  *
23  * Except as contained in this notice, the name of Sony Corporation
24  * shall not be used in advertising or otherwise to promote the sale, use
25  * or other dealings in this Software without prior written authorization
26  * from Sony Corporation.
27  *
28  */
29 
30 /*
31  * $SonyRCSfile: sj3err.h,v $
32  * $SonyRevision: 1.1 $
33  * $SonyDate: 1994/06/03 08:00:58 $
34  */
35 
36 
37 
38 
39 
40 #define	SJ3_InternalError	-1
41 
42 #define	SJ3_NormalEnd		0
43 
44 #define	SJ3_ServerDown		1
45 #define	SJ3_OpenSocket		2
46 #define	SJ3_ConnectSocket	3
47 #define	SJ3_GetHostByName	4
48 #define	SJ3_NotOpened		5
49 #define	SJ3_NotEnoughMemory	6
50 #define	SJ3_IllegalCommand	7
51 
52 #define	SJ3_DifferentVersion	11
53 #define	SJ3_NoHostName		12
54 #define	SJ3_NoUserName		13
55 #define	SJ3_NotAllowedUser	14
56 #define	SJ3_AlreadyConnected	15
57 #define	SJ3_NotConnected	16
58 
59 #define	SJ3_TooLongParameter	21
60 #define	SJ3_IllegalParameter	22
61 
62 #define	SJ3_BadDictID		31
63 #define	SJ3_IllegalDictFile	32
64 #define	SJ3_IllegalStdyFile	33
65 #define	SJ3_IncorrectPasswd	34
66 #define	SJ3_FileNotExist	35
67 #define	SJ3_CannotAccessFile	36
68 #define	SJ3_CannotOpenFile	37
69 #define	SJ3_CannotCreateFile	38
70 #define	SJ3_FileReadError	39
71 #define	SJ3_FileWriteError	40
72 #define	SJ3_FileSeekError	41
73 
74 #define	SJ3_StdyAlreadyOpened	51
75 #define	SJ3_StdyFileNotOpened	52
76 #define	SJ3_TooSmallStdyArea	53
77 
78 #define	SJ3_LockedByOther	61
79 #define	SJ3_NotLocked		62
80 
81 #define	SJ3_NoSuchDict		71
82 #define	SJ3_ReadOnlyDict	72
83 #define	SJ3_DictLocked		73
84 #define	SJ3_BadYomiString	74
85 #define	SJ3_BadKanjiString	75
86 #define	SJ3_BadHinsiCode	76
87 
88 #define	SJ3_AddDictFailed	81
89 #define	SJ3_AlreadyExistWord	82
90 #define	SJ3_NoMoreDouonWord	83
91 #define	SJ3_NoMoreUserDict	84
92 #define	SJ3_NoMoreIndexBlock	85
93 
94 #define	SJ3_DelDictFailed	91
95 #define	SJ3_NoSuchWord		92
96 
97 #define	SJ3_DirAlreadyExist	101
98 #define	SJ3_CannotCreateDir	102
99 
100 #define	SJ3_NoMoreDictData	111
101 
102 #define	SJ3_UserConnected	121
103 
104 #define	SJ3_TooLongPasswd	131
105 #define	SJ3_TooLongComment	132
106 
107 #define SJ3_CannotCodeConvert   133
108