comparison lib/Xsj3clib/libif.c @ 0:92745d501b9a

initial import from kinput2-v3.1
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 08 Mar 2010 04:44:30 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:92745d501b9a
1 #ifndef lint
2 static char *rcsid = "$Id: libif.c,v 2.0 1992/02/13 18:33:26 nao Exp $";
3 #endif
4 /*
5 * Copyright 1991 Sony Corporation
6 *
7 * Permission to use, copy, modify, distribute, and sell this software and its
8 * documentation for any purpose is hereby granted without fee, provided that
9 * the above copyright notice appear in all copies and that both that
10 * copyright notice and this permission notice appear in supporting
11 * documentation, and that the name of Sony not be used in advertising or
12 * publicity pertaining to distribution of the software without specific,
13 * written prior permission. Sony makes no representations about the
14 * suitability of this software for any purpose. It is provided "as is"
15 * without express or implied warranty.
16 *
17 * SONY DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL SONY
19 * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
21 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
22 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23 */
24 /*
25 * Author: Naoshi Suzuki, SONY Corporation. (nao@sm.sony.co.jp)
26 */
27
28 #include "common.h"
29
30 extern int sj3_open();
31 extern int sj3_close();
32 extern int sj3_getkan();
33 extern int sj3_douoncnt();
34 extern int sj3_getdouon();
35 extern int sj3_touroku();
36 extern int sj3_syoukyo();
37 extern int sj3_gakusyuu();
38 extern int sj3_gakusyuu2();
39 extern int sj3_lockserv();
40 extern int sj3_unlockserv();
41
42 Xsj3cCVServerIF serverIF[SERVER_NUM] = {
43 {
44 JP_SJIS,
45 {
46 sj3_open,
47 sj3_close,
48 sj3_getkan,
49 sj3_douoncnt,
50 sj3_getdouon,
51 sj3_touroku,
52 sj3_syoukyo,
53 sj3_gakusyuu,
54 sj3_gakusyuu2,
55 sj3_lockserv,
56 sj3_unlockserv
57 }
58 }
59 };