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: sj3cmd.h,v $
32  * $SonyRevision: 1.1 $
33  * $SonyDate: 1994/06/03 08:00:57 $
34  */
35 
36 
37 
38 
39 
40 
41 
42 #define	SJ3SERV_VERSION_NO	2
43 
44 
45 
46 #define	SJ3_CONNECT	1
47 #define	SJ3_DISCONNECT	2
48 
49 #define	SJ3_OPENDICT	11
50 #define	SJ3_CLOSEDICT	12
51 
52 #define	SJ3_OPENSTDY	21
53 #define	SJ3_CLOSESTDY	22
54 #define	SJ3_STDYSIZE	23
55 
56 #define	SJ3_LOCK	31
57 #define	SJ3_UNLOCK	32
58 
59 #define	SJ3_PH2KNJ	41
60 
61 #define	SJ3_CL2KNJ	51
62 #define	SJ3_NEXTCL	52
63 #define	SJ3_PREVCL	53
64 #define	SJ3_CL2KNJ_ALL	54
65 #define	SJ3_CL2KNJ_CNT	55
66 
67 #define	SJ3_STUDY	61
68 #define	SJ3_CLSTUDY	62
69 
70 #define	SJ3_ADDDICT	71
71 #define	SJ3_DELDICT	72
72 
73 #define	SJ3_MAKEDICT	81
74 #define	SJ3_MAKESTDY	82
75 #define	SJ3_MAKEDIR	83
76 #define	SJ3_ACCESS	84
77 
78 #define	SJ3_GETDICT	91
79 #define	SJ3_NEXTDICT	92
80 #define	SJ3_PREVDICT	93
81 
82 #define	SJ3_WHO		100
83 #define	SJ3_QUIT	101
84 #define	SJ3_KILL	102
85 #define	SJ3_VERSION	103
86 #define	SJ3_DICTPASS	104
87 #define	SJ3_DICTCMNT	105
88 #define	SJ3_STDYPASS	106
89 #define	SJ3_STDYCMNT	107
90 
91 #define SJ3_SETCVER     110
92 #define	SJ3_PH2KNJ_EUC	111
93 
94 #define	SJ3_CL2KNJ_EUC	112
95 #define	SJ3_NEXTCL_EUC	113
96 #define	SJ3_PREVCL_EUC	114
97 #define	SJ3_CL2KNJ_ALL_EUC	115
98 #define	SJ3_CL2KNJ_CNT_EUC	116
99 
100 #define	SJ3_CLSTUDY_EUC	117
101 
102 #define	SJ3_ADDDICT_EUC	118
103 #define	SJ3_DELDICT_EUC	119
104 
105 #define	SJ3_GETDICT_EUC	120
106 #define	SJ3_NEXTDICT_EUC	121
107 #define	SJ3_PREVDICT_EUC	122
108