ce1e48a4fd3459b095c7b1ba535a9ec1c23ee8d3
[silc.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 GIOChannel *connect_handle; /* connect using this handle */
27
28 /* when reconnecting, the old server status */
29 unsigned int reconnection:1; /* we're trying to reconnect */
30 unsigned int no_autojoin_channels:1; /* don't autojoin any channels */
31 unsigned int unix_socket:1; /* Connect using named unix socket */
32 unsigned int use_ssl:1; /* this connection uses SSL */
33 char *channels;
34 char *away_reason;