2000-08-31 20:26:46 -04:00
|
|
|
int type; /* module_get_uniq_id("SERVER SETUP", 0) */
|
|
|
|
int chat_type; /* chat_protocol_lookup(xx) */
|
2000-08-26 11:39:44 -04:00
|
|
|
|
|
|
|
char *chatnet;
|
|
|
|
|
2001-02-20 11:23:28 -05:00
|
|
|
unsigned short family; /* 0 = default, AF_INET or AF_INET6 */
|
2000-08-26 11:39:44 -04:00
|
|
|
char *address;
|
|
|
|
int port;
|
|
|
|
char *password;
|
|
|
|
|
2003-11-16 12:53:55 -05:00
|
|
|
char *ssl_cert;
|
|
|
|
char *ssl_pkey;
|
|
|
|
char *ssl_cafile;
|
|
|
|
char *ssl_capath;
|
|
|
|
|
2000-08-26 11:39:44 -04:00
|
|
|
char *own_host; /* address to use when connecting this server */
|
2001-03-03 20:47:13 -05:00
|
|
|
IPADDR *own_ip4, *own_ip6; /* resolved own_address if not NULL */
|
2000-08-26 11:39:44 -04:00
|
|
|
|
|
|
|
time_t last_connect; /* to avoid reconnecting too fast.. */
|
|
|
|
|
2000-11-23 16:40:07 -05:00
|
|
|
unsigned int autoconnect:1;
|
2002-01-24 15:57:16 -05:00
|
|
|
unsigned int no_proxy:1;
|
2000-11-23 16:40:07 -05: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 18:57:19 -05:00
|
|
|
unsigned int dns_error:1; /* DNS said the host doesn't exist */
|
2002-08-26 15:32:15 -04:00
|
|
|
unsigned int use_ssl:1; /* this connection uses SSL */
|
2003-11-16 12:53:55 -05:00
|
|
|
unsigned int ssl_verify:1;
|
2000-08-26 11:39:44 -04:00
|
|
|
|
|
|
|
GHashTable *module_data;
|