#ifndef __HANJA_DIC_H__
#define __HANJA_DIC_H__

/* @(#)hanja_dic.h	1.4 96/01/10 SMI; */

#include <stdio.h>

#define TABLESIZE	(1991) /* made in 1991 */
#define MARKING		"HWDICTIONARY"
#define NODES		(8)
#define HS			(1) /* See node.doc */
#define INTSIZE		(3) /* See node.doc */
#define HANGULNODE	(1)
#define HANJANODE	(2)

#define USRDIC		(0)
#define SYSDIC		(1)
#define NULDIC		(2)

#define USRNAME		".usrhjd"
#ifdef __STDC__
#define SYSPATH		"/usr/lib/im/locale/ko_KR/common/data"
#else
#define SYSPATH		"/usr/lib/im/locale/ko_KR/common/data"
#endif
#define SYSNAME		"syshjd"
#define NULNAME		"nulhjd"

#define	MAXLENGTH	64

extern int GetHanjaWord(char *dicname, char *hangulword, int offset, int maximum,int *n, char hanjaword[][MAXLENGTH + 1]);
extern void get_dicname(int dic, char *dicname);
#endif /* __HANJA_DIC_H__ */
