Added SILC Thread Queue API
[crypto.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 *ssl_cert;
12 char *ssl_pkey;
13 char *ssl_cafile;
14 char *ssl_capath;
15
16 char *own_host; /* address to use when connecting this server */
17 IPADDR *own_ip4, *own_ip6; /* resolved own_address if not NULL */
18
19 time_t last_connect; /* to avoid reconnecting too fast.. */
20
21 unsigned int autoconnect:1;
22 unsigned int no_proxy:1;
23 unsigned int last_failed:1; /* if last connection attempt failed */
24 unsigned int banned:1; /* if we're banned from this server */
25 unsigned int dns_error:1; /* DNS said the host doesn't exist */
26 unsigned int use_ssl:1; /* this connection uses SSL */
27 unsigned int ssl_verify:1;
28
29 GHashTable *module_data;