BEFORE_STR
else if (strncmp(BEFORE_STR, buf, BEFORE_LEN) == 0)
#define BEFORE_LEN (sizeof(BEFORE_STR) - 1)