Match the "pattern" against the "text" string. */
| 286 | |
| 287 | /* Match the "pattern" against the "text" string. */ |
| 288 | int wildmatch(const char *pattern, const char *text) |
| 289 | { |
| 290 | static const uchar *nomore[1]; /* A NULL pointer. */ |
| 291 | #ifdef WILD_TEST_ITERATIONS |
| 292 | wildmatch_iteration_count = 0; |
| 293 | #endif |
| 294 | return dowild((const uchar*)pattern, (const uchar*)text, nomore) == TRUE; |
| 295 | } |
| 296 | |
| 297 | /* Match the "pattern" against the forced-to-lower-case "text" string. */ |
| 298 | int iwildmatch(const char *pattern, const char *text) |