ap_strcmp_match — wildcard match two strings
int ap_strcmp_match(const char *str, const char *exp)
Matches
str
to
exp
, except that * and ? can be used in
exp
to mean “any number of
characters” and “any
character,” respectively. You should probably use
the newer and more powerful regular expressions for new code. Returns
1
for success, 0
for failure,
and -1
for abort.