aboutsummaryrefslogtreecommitdiff
path: root/src/match.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/match.h')
-rw-r--r--src/match.h21
1 files changed, 21 insertions, 0 deletions
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
+