wildmatch: make dowild() take arbitrary flags
[git/debian.git] / wildmatch.h
blob1c814fd5ff2fb1d08c62792950a44dbc5539a579
1 #ifndef WILDMATCH_H
2 #define WILDMATCH_H
4 #define WM_CASEFOLD 1
6 #define WM_ABORT_MALFORMED 2
7 #define WM_NOMATCH 1
8 #define WM_MATCH 0
9 #define WM_ABORT_ALL -1
10 #define WM_ABORT_TO_STARSTAR -2
12 struct wildopts;
14 int wildmatch(const char *pattern, const char *text,
15 unsigned int flags,
16 struct wildopts *wo);
17 #endif