mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
connect to IPv4 or IPv6 address of the server. If -host or /SET hostname is set irssi determines from it if it should use IPv4 or v6. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1192 dbcabf3a-b0e7-0310-adc4-f8d773084564
27 lines
606 B
C
27 lines
606 B
C
/* SERVER_CONNECT_REC definition, used for inheritance */
|
|
|
|
int type; /* module_get_uniq_id("SERVER CONNECT", 0) */
|
|
int chat_type; /* chat_protocol_lookup(xx) */
|
|
|
|
/* if we're connecting via proxy, or just NULLs */
|
|
char *proxy;
|
|
int proxy_port;
|
|
char *proxy_string;
|
|
|
|
unsigned short family; /* 0 = don't care, AF_INET or AF_INET6 */
|
|
char *address;
|
|
int port;
|
|
char *chatnet;
|
|
|
|
IPADDR *own_ip;
|
|
|
|
char *password;
|
|
char *nick;
|
|
char *username;
|
|
char *realname;
|
|
|
|
/* when reconnecting, the old server status */
|
|
unsigned int reconnection:1; /* we're trying to reconnect */
|
|
char *channels;
|
|
char *away_reason;
|
|
char *usermode;
|