From a041d9898e6d699bd8c0c25482ec574feb03c547 Mon Sep 17 00:00:00 2001 From: "John Ankarstr\\xf6m" Date: Sat, 29 May 2021 12:54:47 +0200 Subject: First commit This is the original state of the released tarball for JWM 1.8, which will serve as my starting point for further modifications. --- src/match.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/match.h (limited to 'src/match.h') diff --git a/src/match.h b/src/match.h new file mode 100644 index 0000000..2cdb2e2 --- /dev/null +++ b/src/match.h @@ -0,0 +1,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 + -- cgit v1.2.3