Back to index

im-sdk  12.3.91
hanja_dic.h
Go to the documentation of this file.
00001 #ifndef __HANJA_DIC_H__
00002 #define __HANJA_DIC_H__
00003 
00004 /* @(#)hanja_dic.h   1.4 96/01/10 SMI; */
00005 
00006 #include <stdio.h>
00007 
00008 #define TABLESIZE    (1991) /* made in 1991 */
00009 #define MARKING             "HWDICTIONARY"
00010 #define NODES        (8)
00011 #define HS                  (1) /* See node.doc */
00012 #define INTSIZE             (3) /* See node.doc */
00013 #define HANGULNODE   (1)
00014 #define HANJANODE    (2)
00015 
00016 #define USRDIC              (0)
00017 #define SYSDIC              (1)
00018 #define NULDIC              (2)
00019 
00020 #define USRNAME             ".usrhjd"
00021 #ifdef __STDC__
00022 #define SYSPATH             "/usr/lib/iiim/le/kole/input_methods/data"
00023 #else
00024 #define SYSPATH             "/usr/lib/iiim/le/kole/input_methods/data"
00025 #endif
00026 #define SYSNAME             "syshjd"
00027 #define NULNAME             "nulhjd"
00028 
00029 #define       MAXLENGTH     64
00030 
00031 extern int GetHanjaWord(char *dicname, char *hangulword, int offset, int maximum,int *n, char hanjaword[][MAXLENGTH + 1]);
00032 extern void get_dicname(int dic, char *dicname);
00033 #endif /* __HANJA_DIC_H__ */