aboutsummaryrefslogtreecommitdiff
path: root/src/match.h
diff options
context:
space:
mode:
authorJohn Ankarstr\xf6m <john@ankarstrom.se>2021-05-29 12:54:47 +0200
committerJohn Ankarstr\xf6m <john@ankarstrom.se>2021-05-29 13:18:40 +0200
commita041d9898e6d699bd8c0c25482ec574feb03c547 (patch)
tree7f094e33fb530152c3ab6238ce7300750b47addb /src/match.h
downloadjwm-a041d9898e6d699bd8c0c25482ec574feb03c547.tar.gz
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.
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
+