aboutsummaryrefslogtreecommitdiff
path: root/src/match.h
blob: 2cdb2e2fcb24cf0ff65839f115b2aee6b84c59a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * @file match.h
 * @author Joe Wingbermuehle
 * @date 2004-2006
 *
 * @brief Expression matching.
 *
 */

#ifndef MATCH_H
#define MATCH_H

/** Check if an expression matches a pattern.
 * @param pattern The pattern to match against.
 * @param expression The expression to check.
 * @return 1 if there is a match, 0 otherwise.
 */
int Match(const char *pattern, const char *expression);

#endif