| | 360 | | g_return_if_fail(protocol != NULL);
| | | 361 | | | | | 362 | | printformat(NULL, NULL, MSGLEVEL_CLIENTERROR,
| | | 363 | | TXT_UNKNOWN_CHAT_PROTOCOL, protocol); | | | 364 | | } | | | 365 | | | | | 366 | | void fe_server_init(void) | | | 367 | | { | | | 368 | | command_bind("server", NULL, (SIGNAL_FUNC) cmd_server);
| | | 369 | | command_bind("server connect", NULL, (SIGNAL_FUNC) cmd_server_connect);
| | Wrong Number of Parameters | 370 | | command_bind("server add", NULL, (SIGNAL_FUNC) cmd_server_add);
| | | 371 | | command_bind("server remove", NULL, (SIGNAL_FUNC) cmd_server_remove);
| | | 372 | | command_bind_first("server", NULL, (SIGNAL_FUNC) server_command);
| | | 373 | | command_bind_first("disconnect", NULL, (SIGNAL_FUNC) server_command);
| | | 374 | | command_set_options("server add", "4 6 ssl +ssl_cert +ssl_pkey ssl_verify +ssl_cafile +ssl_capath auto noauto proxy noproxy -host -port");
| | | 375 | | | | | 376 | | signal_add("server looking", (SIGNAL_FUNC) sig_server_looking);
| | | 377 | | signal_add("server connecting", (SIGNAL_FUNC) sig_server_connecting);
| | | 378 | | signal_add("server connected", (SIGNAL_FUNC) sig_server_connected);
| | | 379 | | signal_add("server connect failed", (SIGNAL_FUNC) sig_connect_failed);
| | | 380 | | signal_add("server disconnected", (SIGNAL_FUNC) sig_server_disconnected);
|
|