matches
matches(char *value, char *compare, int function)
static int matches(char *name, struct symbol *sym, struct sm_state *sm)