2000-09-01 00:26:46 +00:00
|
|
|
int type; /* module_get_uniq_id("SERVER SETUP", 0) */
|
|
|
|
|
int chat_type; /* chat_protocol_lookup(xx) */
|
2000-08-26 15:39:44 +00:00
|
|
|
|
|
|
|
|
char *chatnet;
|
|
|
|
|
|
2001-02-20 16:23:28 +00:00
|
|
|
unsigned short family; /* 0 = default, AF_INET or AF_INET6 */
|
2000-08-26 15:39:44 +00:00
|
|
|
char *address;
|
|
|
|
|
int port;
|
|
|
|
|
char *password;
|
|
|
|
|
|
2015-09-10 01:02:44 +02:00
|
|
|
int sasl_mechanism;
|
|
|
|
|
char *sasl_password;
|
|
|
|
|
|
2003-11-16 17:53:55 +00:00
|
|
|
char *ssl_cert;
|
|
|
|
|
char *ssl_pkey;
|
2014-01-11 19:53:17 +00:00
|
|
|
char *ssl_pass;
|
2003-11-16 17:53:55 +00:00
|
|
|
char *ssl_cafile;
|
|
|
|
|
char *ssl_capath;
|
2015-04-14 18:07:35 +10:00
|
|
|
char *ssl_ciphers;
|
2003-11-16 17:53:55 +00:00
|
|
|
|
2000-08-26 15:39:44 +00:00
|
|
|
char *own_host; /* address to use when connecting this server */
|
2015-09-22 21:59:17 +02:00
|
|
|
IPADDR *own_ip4, *own_ip6; /* resolved own_address if not NULL */
|
2000-08-26 15:39:44 +00:00
|
|
|
|
|
|
|
|
time_t last_connect; /* to avoid reconnecting too fast.. */
|
|
|
|
|
|
2000-11-23 21:40:07 +00:00
|
|
|
unsigned int autoconnect:1;
|
2002-01-24 20:57:16 +00:00
|
|
|
unsigned int no_proxy:1;
|
2000-11-23 21:40:07 +00:00
|
|
|
unsigned int last_failed:1; /* if last connection attempt failed */
|
|
|
|
|
unsigned int banned:1; /* if we're banned from this server */
|
2001-03-07 23:57:19 +00:00
|
|
|
unsigned int dns_error:1; /* DNS said the host doesn't exist */
|
2002-08-26 19:32:15 +00:00
|
|
|
unsigned int use_ssl:1; /* this connection uses SSL */
|
2003-11-16 17:53:55 +00:00
|
|
|
unsigned int ssl_verify:1;
|
2000-08-26 15:39:44 +00:00
|
|
|
|
|
|
|
|
GHashTable *module_data;
|