#ifndef __CONFIG_SERVERS_H #define __CONFIG_SERVERS_H #include typedef struct irc_server_conf { char *user; char *password; char *server; char **channels; char *port; int ssl; } irc_server_conf; static irc_server_conf server_list[] = { { .user = "cbot_git", .password = "asdsada", .server = "irc.freenode.net", .channels = {"#mainlv",NULL}, .port = "6667", .ssl = 0, }/*, { .user = "agni", .password = NULL, .server = "irc.hacking.allowed.org", .channels = {"#default","#bot",NULL}, .port = 6697, .ssl = 1, }*/ }; #define SIZEOF_SERVER_LIST (sizeof(server_list)/sizeof(irc_server_conf)) #endif