2000-08-26 11:39:44 -04:00
|
|
|
/* SERVER_CONNECT_REC definition, used for inheritance */
|
|
|
|
|
2000-08-31 20:26:46 -04:00
|
|
|
int type; /* module_get_uniq_id("SERVER CONNECT", 0) */
|
|
|
|
int chat_type; /* chat_protocol_lookup(xx) */
|
2000-08-26 11:39:44 -04:00
|
|
|
|
|
|
|
/* if we're connecting via proxy, or just NULLs */
|
|
|
|
char *proxy;
|
|
|
|
int proxy_port;
|
2001-03-20 18:24:45 -05:00
|
|
|
char *proxy_string, *proxy_password;
|
2000-08-26 11:39:44 -04:00
|
|
|
|
2001-02-09 16:26:50 -05:00
|
|
|
unsigned short family; /* 0 = don't care, AF_INET or AF_INET6 */
|
2000-08-26 11:39:44 -04:00
|
|
|
char *address;
|
|
|
|
int port;
|
|
|
|
char *chatnet;
|
|
|
|
|
2001-03-03 20:47:13 -05:00
|
|
|
IPADDR *own_ip4, *own_ip6;
|
2000-08-26 11:39:44 -04:00
|
|
|
|
|
|
|
char *password;
|
|
|
|
char *nick;
|
|
|
|
char *username;
|
|
|
|
char *realname;
|
|
|
|
|
|
|
|
/* when reconnecting, the old server status */
|
2000-11-23 16:40:07 -05:00
|
|
|
unsigned int reconnection:1; /* we're trying to reconnect */
|
2000-08-26 11:39:44 -04:00
|
|
|
char *channels;
|
|
|
|
char *away_reason;
|