1RKGETDICLIST(3) Library Functions Manual RKGETDICLIST(3)
2
3
4
6 RkGetDicList - get the name of a dictionary that can be added to the
7 dictionary list
8
10 #include <canna/RK.h>
11 int RkGetDicList(cxnum, dics, maxdics)
12 int cxnum;
13 char *dics;
14 int maxdics;
15
17 RkGetDicList gets the name of a dictionary that can be added to the
18 dictionary list.
19
20 Multiple dictionaries can be simultaneously used during kana-kanji con‐
21 version. The simultaneously available dictionaries are chained to the
22 dictionary list in the conversion context. The dictionary named at the
23 beginning of the dictionary list is referenced first of all and candi‐
24 dates generated from it are also treated on a priority basis. Dictio‐
25 naries are identified by the dictionary name in the dictionary table.
26
27 Dictionary names are got in the area dics in the following format:
28
29 dictionary-name-1 \0 dictionary-name-2 \0 ... dictionary-name-n \0 \0
30
31 The size of the area dics is given in bytes by maxdics. The dictionary
32 list is truncated in character strings when it exceeds this size.
33
35 This function returns number of dictionary names, or returns -1 if the
36 context is invalid.
37
38
39
40 RKGETDICLIST(3)