jl_open_lang() ?????Фȥ??ͥ?????????ĥ???Ķ????????˺??롣
#include "jllib.h"
struct wnn_buf *
jl_open_lang(env_n, server_n, lang, wnnrc_n,
error_handler, message_handler, timeout)
char *env_n; /* ?Ķ?̾ */
char *server_n; /* ??????̾ */
char *lang; /* ?????? */
char *wnnrc_n; /* wnnrc?ե?????̾ */
int (*error_handler)(); /* ???顼???ϥ??ɥ? */
int (*message_handler)(); /* ???å????????ϥ??ɥ? */
int timeout; /* ?????ॢ???Ȼ??? */
- ?Ķ?̾ env_n???ڤӡ???????̾ server_n
?ǻ??ꤵ?줿?Ķ??????ꡢ
???????Ѵ??Хåե??????ä??֤???
server_n ????null
?ݥ??????뤤?ϡ?null
?ξ??硢serverdefs ?ե????????? lang
?????פ????ԤȤ?????????2???Υۥ??Ȥ?
??³???褦?Ȥ??롣??????³???Ǥ??ʤ??ä????硢???뤤?ϡ???2??
?Υۥ??Ȥ?NULL?ξ??硢unix domain ?? socket
????³???褦?Ȥ??롣
lang
?ǡ??Ѵ??оݤθ????????ꤹ?롣?ܺ٤ϡ?js_open_lang
?ȡ?
???????ե????? wnnrc
?????ꤵ?줿???硢?Ķ??ν??????ե???????
?????Ѥ??????Υե??????λ???(???????ꡢ??°???ե????????ꡢ??
?????????)?δĶ????Ф??ƹԤʤ???
???ꤵ?줿?????ե????롢???٥ե????뤬¸?ߤ??ʤ??????ν???????
???顼???ϥ??ɥ?
error_handler?????å????????ϥ??ɥ? message_handler
?ǻ??ꤹ?롣jl_dic_add ?ȡ?
timeout(??)?????ˡ??????Ф???³?Ǥ??ʤ??????ϡ???³?????Ǥ???
?ェλ???롣?????ॢ???Ȥ??????Τ????ˡ?SIGALARM
?????Ѥ??Ƥ? ?롣timeout ?? 0
?ޤ??ϡ????ξ????ϡ?SIGALARM
?????Ѥ??ʤ??? js_connect ?ȡ?
???ェλ???ˤϡ??Хåե??Υݥ????֤???
?۾ェλ???ˤ? NULL ???֤???
- ?????ॢ???Ȥˤϡ?SIGALARM
?????Ѥ??Ƥ????Τǡ????դ?ɬ?פǤ??롣
SIGALARM ?????Ѥ??ʤ??????ˤϡ?timeout ?? 0
?????ꤷ?ʤ????Фʤ??ʤ???