summaryrefslogtreecommitdiff
path: root/config_servers.h
blob: 3e4ee94e5f5f13bf6824ccef73abb04966817d33 (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
#ifndef __CONFIG_SERVERS_H
#define __CONFIG_SERVERS_H

#include <stdint.h>



typedef struct irc_server_conf
{
	char *user;
	char *password;
	char *server;
	char **channels;
	int port;
	int ssl;
} irc_server_conf;

static irc_server_conf server_list[] =
{
	{
	.user = "agni",
	.password = NULL,
	.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