1 #ifndef WILDMATCH_H 2 #define WILDMATCH_H 3 4 #define WM_CASEFOLD 1 5 #define WM_PATHNAME 2 6 7 #define WM_NOMATCH 1 8 #define WM_MATCH 0 9 #define WM_ABORT_ALL -1 10 #define WM_ABORT_TO_STARSTAR -2 11 12 int wildmatch(const char *pattern, const char *text, unsigned int flags); 13 #endif 14