RKGETDICLIST(3)RKGETDICLIST(3)NAMERkGetDicList - get the name of a dictionary that can be added to the
dictionary list
SYNOPSIS
#include <canna/RK.h>
int RkGetDicList(cxnum, dics, maxdics)
int cxnum;
char *dics;
int maxdics;
DESCRIPTIONRkGetDicList gets the name of a dictionary that can be added to the
dictionary list.
Multiple dictionaries can be simultaneously used during kana-kanji con‐
version. The simultaneously available dictionaries are chained to the
dictionary list in the conversion context. The dictionary named at the
beginning of the dictionary list is referenced first of all and candi‐
dates generated from it are also treated on a priority basis. Dictio‐
naries 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 \0 dictionary-name-2 \0 ... dictionary-name-n \0 \0
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
context is invalid.
RKGETDICLIST(3)