js_dic_add() ???Ѽ??????ɲä??롣
#include "jslib.h"
int
js_dic_add(env,fid,hfid, rev, jnice,rw,hrw, pw1, pw2)
struct wnn_env *env; /* ?Ķ? */
int fid; /* ?????ե?????ID */
int hfid; /* ???٥ե?????ID */
int rev; /* ???Ѵ????ɤ??? */
int jnice; /* ͥ???? */
int rw; /* ????ɥ????꤫?ݤ? */
int hrw; /* ???٥ե????뤬??ɥ????꤫?ݤ? */
char *pw1; /* ?????Υѥ???? */
char *pw2; /* ???٥ե??????Υѥ???? */
- ?Ķ? env ?˥ե?????ID fid
?μ?Ω?켭?????ɲä??롣 (????
WNN_MAX_JISHO_OF_AN_ENV
?ĤޤDz?ǽ?Ǥ??롣
WNN_MAX_JISHO_OF_AN_ENV
???ͤϡ????ߤΥС????????Ǥ? 30
?Ǥ??롣)
?????ˤ??ꡢ?Ѵ??ˤ??μ????Ȥ??롣
???٥ե?????ID hid
?????٥ե??????????ꤹ?롣
rw, hrw
?ǡ??????????٥ե????뤬???ɤ??????Ѥ??ݤ??????ꤹ?롣
WNN_DIC_RDONLY ?ɤ???????
WNN_DIC_RW ?ɤ???/???߲?ǽ
???????????????ɤ??????Ѽ????ˤϡ?ñ????Ͽ/???????Ǥ??ʤ???
rev
?ǡ????Ѵ????Ԥʤ????ɤ????????ꤹ?롣
WNN_DIC_ADD_REV ???Ѵ?
WNN_DIC_ADD_NOR ?̾????Ѵ?
?հ??????????????Ф??Ƥ????????Ѵ??ϹԤʤ????Ȥ??Ǥ??ʤ???
?????????٥ե??????Υѥ???ɤ??????С????줾??
pw1, pw2 ?ǻ??ꤹ?롣
(???Υѥ???ɤ?ʸ??????Ĺ???ϡ?????16ʸ???Ǥ???)
???Ǥ˻??Ѥ????Ƥ??뼭???????٥ե??????Τߤ??ѹ????뤳?Ȥ???ǽ?Ǥ??롣
???ェλ???ˤϡ??????ֹ????֤???
?۾ェλ???ˤϡ?-1 ???֤???