struct server { char *hostname; char **addrlist; char **curaddr; int h_addr_size; int port; int fd; int retrycount; /* retry each addrlist entry retries times */ enum state curstate; char *nick; char *umode; struct profile *profile; int nickidx; char *outbuf, *inbuf; struct channel *channels; struct server *next; }; .... struct server hardcoded_server = { "irc.vt220.org", NULL, NULL, 0, 6667, 0, 0, disconnected, NULL, NULL, &hardcoded_profile, 0, NULL, NULL NULL, NULL };