#ifndef __CONFIG_SERVERS_H #define __CONFIG_SERVERS_H #include typedef struct irc_server_conf { char *user; char *password; char *server; char *port; int ssl; char *channels[16]; } irc_server_conf; static irc_server_conf server_list[] = { /* { .user = "cbot_git2",#meeseekeria .password = "asdsada", .server = "irc.freenode.net", .channels = {"#mainlv","#developerslv","#meeseekeria",NULL}, .port = "6667", .ssl = 0, }, */ /* { .user = "cbot_git", .password = "asdaasda", .server = "localhost", .channels = {"#default","#bots",NULL}, .port = "9000", //.port = "6667", .ssl = 0 }, */ { .user = "cbot_git", .password = "asdaasda", .server = "localhost", .channels = {"#default","#bots",NULL}, .port = "6667", .ssl = 0 } }; #define SIZEOF_SERVER_LIST (sizeof(server_list)/sizeof(irc_server_conf)) #endif