str_match
struct str_match m;
ret = str_match(string, pattern, &m, &errstr);
struct str_match clt_srv_match;
str_match(const char *string, const char *pattern, struct str_match *m,
str_match_free(struct str_match *m)
int str_match(const char *, const char *, struct str_match *,
void str_match_free(struct str_match *);
ret = str_match(path, location->location,