summaryrefslogtreecommitdiff
path: root/src/irc/core/ircnet-setup.h
blob: dea530fbb1932ab8fd3a2e6c13012216a098d799 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __IRCNET_SETUP_H
#define __IRCNET_SETUP_H

typedef struct {
	char *name;

	char *nick;
	char *username;
	char *realname;

	/* max. number of kicks/msgs/mode/whois per command */
	int max_kicks, max_msgs, max_modes, max_whois;
} IRCNET_REC;

extern GSList *ircnets; /* list of available ircnets */

/* Find the irc network by name */
IRCNET_REC *ircnet_find(const char *name);

void ircnets_setup_init(void);
void ircnets_setup_deinit(void);

#endif