Name

ap_find_last_token — check if the last token is a particular string

Synopsis

int ap_find_last_token(pool *p, const char *line, const char *tok)

Checks whether the end of line matches tok and whether tok is preceded by a space or a comma. Returns 1 if so, 0 otherwise.