summaryrefslogtreecommitdiff
path: root/src/core/masks.h
blob: 437c8cb43c8570f227aad46860345834bba1b47c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef __MASKS_H
#define __MASKS_H

#include "servers.h"

int mask_match(SERVER_REC *server, const char *mask,
	       const char *nick, const char *user, const char *host);
int mask_match_address(SERVER_REC *server, const char *mask,
		       const char *nick, const char *address);
int masks_match(SERVER_REC *server, const char *masks,
		const char *nick, const char *address);

#endif