#include "jllib.h"
struct wnn_env *
jl_connect(env_n, server_n, wnnrc_n, error_handler,
message_handler,timeout)
char *env_n; /* ?Ķ?̾ */
char *server_n; /* ??????̾ */
char *wnnrc_n; /* wnnrc?ե?????̾ */
int (*error_handler)(); /* ???顼???ϥ??ɥ? */
int (*message_handler)(); /* ???å????????ϥ??ɥ? */
int timeout; /* ?????ॢ???Ȼ??? */
- ???????Ķ??????ꤵ?줿?????? server_n
???˻??ꤵ?줿?Ķ?̾ env_n ?Ǻ??ꡢ
?Ķ????֤???
?????Фȥ??ͥ??Ȥ????Ƥ??ʤ??????ϡ????ͥ?????????ĥ?롣
???ˤ??δĶ???¸?ߤ??????ˤϡ????δĶ????֤???
???????ե????? wnnrc_n
?????ꤵ?줿???硢?ե????????ν????????Ԥʤ???
?????????Ԥʤ??ʤ??????ϡ?wnnrc_n ?? NULL
?????ꤹ?롣jl_open ???ȡ?
???顼???ϥ??ɥ?
error_handler?????å????????ϥ??ɥ? message_handler ??
?Ѥ??롣jl_dic_add ???ȡ?
timeout(??)?????ˡ??????Ф???³?Ǥ??ʤ??????ϡ???³?????Ǥ??۾ェλ???롣
?????ॢ???Ȥ??????Τ????ˡ?SIGALARM
?????Ѥ??Ƥ??롣 timeout ?? 0
?ޤ??ϡ????ξ????ϡ?SIGALARM
?????Ѥ??ʤ??? js_connect ?ȡ?
???ェλ???ˤϡ??Ķ????֤???
?۾ェλ???ˤ? NULL ???֤???
- ?????ॢ???Ȥˤϡ?SIGALARM
?????Ѥ??Ƥ????Τǡ????դ?ɬ?פǤ??롣
SIGALARM ?????Ѥ??ʤ??????ˤϡ?timeout ?? 0
?????ꤷ?ʤ????Фʤ??ʤ???