summaryrefslogtreecommitdiff
path: root/wildmatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'wildmatch.h')
-rw-r--r--wildmatch.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/wildmatch.h b/wildmatch.h
new file mode 100644
index 0000000000..984a38cdc2
--- /dev/null
+++ b/wildmatch.h
@@ -0,0 +1,9 @@
+/* wildmatch.h */
+
+#define ABORT_MALFORMED 2
+#define NOMATCH 1
+#define MATCH 0
+#define ABORT_ALL -1
+#define ABORT_TO_STARSTAR -2
+
+int wildmatch(const char *pattern, const char *text, int flags);