Added SILC Thread Queue API
[crypto.git] / apps / irssi / src / core / server-connect-rec.h
index f1b3d07536c73eaf9a15dd66c787fba93fbd55d0..cfbe3eba12946c166b5041abdc5c864c9001e8f3 100644 (file)
@@ -3,12 +3,15 @@
 int type; /* module_get_uniq_id("SERVER CONNECT", 0) */
 int chat_type; /* chat_protocol_lookup(xx) */
 
+int refcount;
+
 /* if we're connecting via proxy, or just NULLs */
 char *proxy;
 int proxy_port;
-char *proxy_string, *proxy_password;
+char *proxy_string, *proxy_string_after, *proxy_password;
 
 unsigned short family; /* 0 = don't care, AF_INET or AF_INET6 */
+char *tag; /* try to keep this tag when connected to server */
 char *address;
 int port;
 char *chatnet;
@@ -20,7 +23,20 @@ char *nick;
 char *username;
 char *realname;
 
+char *ssl_cert;
+char *ssl_pkey;
+char *ssl_cafile;
+char *ssl_capath;
+
+GIOChannel *connect_handle; /* connect using this handle */
+
 /* when reconnecting, the old server status */
-unsigned int reconnection:1; /* we're trying to reconnect */
+unsigned int reconnection:1; /* we're trying to reconnect a connected server */
+unsigned int reconnecting:1; /* we're trying to reconnect any connection */
+unsigned int no_autojoin_channels:1; /* don't autojoin any channels */
+unsigned int unix_socket:1; /* Connect using named unix socket */
+unsigned int use_ssl:1; /* this connection uses SSL */
+unsigned int ssl_verify:1;
+unsigned int no_connect:1; /* don't connect() at all, it's done by plugin */
 char *channels;
 char *away_reason;