d04fa1fea9112500e25f2e75967c384bf4480046
[silc.git] / apps / irssi / src / core / server-setup-rec.h
1 int type; /* module_get_uniq_id("SERVER SETUP", 0) */
2 int chat_type; /* chat_protocol_lookup(xx) */
3
4 char *chatnet;
5
6 unsigned short family; /* 0 = default, AF_INET or AF_INET6 */
7 char *address;
8 int port;
9 char *password;
10
11 char *own_host; /* address to use when connecting this server */
12 IPADDR *own_ip4, *own_ip6; /* resolved own_address if not NULL */
13
14 time_t last_connect; /* to avoid reconnecting too fast.. */
15
16 unsigned int autoconnect:1;
17 unsigned int no_proxy:1;
18 unsigned int last_failed:1; /* if last connection attempt failed */
19 unsigned int banned:1; /* if we're banned from this server */
20 unsigned int dns_error:1; /* DNS said the host doesn't exist */
21 unsigned int use_ssl:1; /* this connection uses SSL */
22
23 GHashTable *module_data;