summaryrefslogtreecommitdiff
path: root/config_servers.h
blob: 30a11057538616fd220b42ff9e227c634d1cba7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef __CONFIG_SERVERS_H
#define __CONFIG_SERVERS_H

#include <stdint.h>



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