+ int ret = strncasecmp(p, token, tlen) == 0 && isspace(p[tlen]);
+ if (ret)
+ *p_ = sskip(p + tlen + 1);
+
+ return ret;
+}
+
+static int check_token_eq(char **p_, const char *token)
+{
+ char *p = *p_;
+ int ret = check_token(&p, token);
+ ret = ret && *p == '=';
+ if (ret)
+ *p_ = sskip(p + 1);
+
+ return ret;