Match the "pattern" against the "text" string. */
| 284 | |
| 285 | /* Match the "pattern" against the "text" string. */ |
| 286 | int wildmatch(const char *pattern, const char *text, unsigned int flags) |
| 287 | { |
| 288 | int res = dowild((const uchar*)pattern, (const uchar*)text, flags); |
| 289 | return res == WM_MATCH ? WM_MATCH : WM_NOMATCH; |
| 290 | } |