home | help
RKGETDICLIST(3) 	    Library Functions Manual		 RKGETDICLIST(3)

NAME
     RkGetDicList  -  get the name of a dictionary that can be added to the dic-
     tionary list

SYNOPSIS
     #include <canna/RK.h>
     int RkGetDicList(cxnum, dics, maxdics)
     int cxnum;
     char *dics;
     int maxdics;

DESCRIPTION
     RkGetDicList gets the name of a dictionary that can be added to the dictio-
     nary list.

     Multiple dictionaries can be simultaneously used during kana-kanji  conver-
     sion.  The simultaneously available dictionaries are chained to the dictio-
     nary list in the conversion context.  The dictionary named at the beginning
     of  the dictionary list is referenced first of all and candidates generated
     from it are also treated on a priority basis.  Dictionaries are  identified
     by the dictionary name in the dictionary table.

     Dictionary names are got in the area dics in the following format:

      dictionary-name-1 !i0 dictionary-name-2 !i0 ... dictionary-name-n !i0 !i0

     The  size	of  the  area dics is given in bytes by maxdics.  The dictionary
     list is truncated in character strings when it exceeds this size.

RETURN VALUE
     This function returns number of dictionary names, or returns -1 if the con-
     text is invalid.

								 RKGETDICLIST(3)

home | help