summaryrefslogtreecommitdiff
path: root/src/irc/core/channels-setup.h
blob: 9cd2472c846adb11f64d88590cc57056c463e75a (plain)
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
#ifndef __CHANNELS_SETUP_H
#define __CHANNELS_SETUP_H

typedef struct {
	int autojoin;

	char *name;
	char *ircnet;
	char *password;

	char *botmasks;
	char *autosendcmd;

	char *background;
	char *font;
} SETUP_CHANNEL_REC;

extern GSList *setupchannels;

void channels_setup_init(void);
void channels_setup_deinit(void);

void channels_setup_create(SETUP_CHANNEL_REC *channel);
void channels_setup_destroy(SETUP_CHANNEL_REC *channel);

SETUP_CHANNEL_REC *channels_setup_find(const char *channel, const char *ircnet);

#endif