summaryrefslogtreecommitdiff
path: root/src/core/servers.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-09-27 23:47:51 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-09-27 23:47:51 +0000
commite256b3a1083aa11f5f3b34e8ddb8dc939a028f32 (patch)
tree99ba995c8856401755f79380725f718de98ad1a0 /src/core/servers.h
parentec8c613101dd9185b5715e3ce156cc66573960d4 (diff)
downloadirssi-e256b3a1083aa11f5f3b34e8ddb8dc939a028f32.zip
Moved /DISCONNECT to core, other multiprotocol fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@687 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/servers.h')
-rw-r--r--src/core/servers.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/servers.h b/src/core/servers.h
index 7f033b7e..f4b2213d 100644
--- a/src/core/servers.h
+++ b/src/core/servers.h
@@ -45,9 +45,17 @@ void server_disconnect(SERVER_REC *server);
SERVER_REC *server_find_tag(const char *tag);
SERVER_REC *server_find_chatnet(const char *chatnet);
+/* starts connecting to server */
int server_start_connect(SERVER_REC *server);
void server_connect_free(SERVER_CONNECT_REC *conn);
+/* initializes server record but doesn't start connecting */
+void server_connect_init(SERVER_REC *server);
+/* Connection to server finished, fill the rest of the fields */
+void server_connect_finished(SERVER_REC *server);
+/* connection to server failed */
+void server_connect_failed(SERVER_REC *server, const char *msg);
+
/* `optlist' should contain only one key - the server tag.
returns NULL if there was unknown -option */
SERVER_REC *cmd_options_get_server(const char *cmd,