about summary refs log tree commit diff
path: root/src/ngircd/match.h
blob: d4107fb65d357fcdab95677685fa6340378b53d5 (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
29
30
31
/*
 * ngIRCd -- The Next Generation IRC Daemon
 * Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * Please read the file COPYING, README and AUTHORS for more information.
 */

#ifndef __match_h__
#define __match_h__

/**
 * @file
 * Wildcard pattern matching (header)
 */

GLOBAL bool Match PARAMS((const char *Pattern, const char *String));

GLOBAL bool MatchCaseInsensitive PARAMS((const char *Pattern,
					 const char *String));

GLOBAL bool MatchCaseInsensitiveList PARAMS((const char *Pattern,
					     const char *String,
					     const char *Separator));

#endif

/* -eof- */