diff options
Diffstat (limited to 'src/core/servers.h')
-rw-r--r-- | src/core/servers.h | 8 |
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, |