Added SILC Thread Queue API
[crypto.git] / apps / irssi / src / core / server-connect-rec.h
1 /* SERVER_CONNECT_REC definition, used for inheritance */
2
3 int type; /* module_get_uniq_id("SERVER CONNECT", 0) */
4 int chat_type; /* chat_protocol_lookup(xx) */
5
6 int refcount;
7
8 /* if we're connecting via proxy, or just NULLs */
9 char *proxy;
10 int proxy_port;
11 char *proxy_string, *proxy_string_after, *proxy_password;
12
13 unsigned short family; /* 0 = don't care, AF_INET or AF_INET6 */
14 char *tag; /* try to keep this tag when connected to server */
15 char *address;
16 int port;
17 char *chatnet;
18
19 IPADDR *own_ip4, *own_ip6;
20
21 char *password;
22 char *nick;
23 char *username;
24 char *realname;
25
26 char *ssl_cert;
27 char *ssl_pkey;
28 char *ssl_cafile;
29 char *ssl_capath;
30
31 GIOChannel *connect_handle; /* connect using this handle */
32
33 /* when reconnecting, the old server status */
34 unsigned int reconnection:1; /* we're trying to reconnect a connected server */
35 unsigned int reconnecting:1; /* we're trying to reconnect any connection */
36 unsigned int no_autojoin_channels:1; /* don't autojoin any channels */
37 unsigned int unix_socket:1; /* Connect using named unix socket */
38 unsigned int use_ssl:1; /* this connection uses SSL */
39 unsigned int ssl_verify:1;
40 unsigned int no_connect:1; /* don't connect() at all, it's done by plugin */
41 char *channels;
42 char *away_reason;