From 1b593e1ea4d2af0f6444d9a7788d5d99abd6fde5 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 11 Jan 2020 23:36:56 +0000 Subject: Squashed 'third_party/git/' content from commit cb71568594 git-subtree-dir: third_party/git git-subtree-split: cb715685942260375e1eb8153b0768a376e4ece7 --- wildmatch.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 wildmatch.h (limited to 'wildmatch.h') diff --git a/wildmatch.h b/wildmatch.h new file mode 100644 index 000000000000..599369629824 --- /dev/null +++ b/wildmatch.h @@ -0,0 +1,13 @@ +#ifndef WILDMATCH_H +#define WILDMATCH_H + +#define WM_CASEFOLD 1 +#define WM_PATHNAME 2 + +#define WM_NOMATCH 1 +#define WM_MATCH 0 +#define WM_ABORT_ALL -1 +#define WM_ABORT_TO_STARSTAR -2 + +int wildmatch(const char *pattern, const char *text, unsigned int flags); +#endif -- cgit 1.4.1