added cmd_reconnect
[NeonServV5.git] / src / ClientSocket.h
index 7ede0c325e79b46e9c3302ef50887c7d14f96a37..13e499cf0c98268dc6754d36c5af30290318a6e8 100644 (file)
@@ -69,6 +69,7 @@ struct ClientSocket {
 struct ClientSocket* create_socket(char *host, int port, char *bindto, char *pass, char *nick, char *ident, char *realname);
 int connect_socket(struct ClientSocket *client);
 int close_socket(struct ClientSocket *client);
+int disconnect_socket(struct ClientSocket *client);
 int write_socket_force(struct ClientSocket *client, char* msg, int len);
 int write_socket(struct ClientSocket *client, char* msg, int len);
 void socket_loop(int timeout_seconds);