irssi/src/core/server-connect-rec.h
Timo Sirainen 1256621041 Added reference counter to SERVER_CONNECT_REC. Since it's being moved around
a lot in reconnects etc. this should make it easier to track when it's
supposed to be destroyed. Hopefully fixes a crash I assume is related to
this but couldn't find..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1880 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 13:59:07 +00:00

30 lines
696 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) */
int refcount;
/* if we're connecting via proxy, or just NULLs */
char *proxy;
int proxy_port;
char *proxy_string, *proxy_password;
unsigned short family; /* 0 = don't care, AF_INET or AF_INET6 */
char *tag; /* try to keep this tag when connected to server */
char *address;
int port;
char *chatnet;
IPADDR *own_ip4, *own_ip6;
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;