char *query_val(struct soap *soap, char **s) { char *t = *s; if (t && *t == '=') { *s = (char*)soap_decode_string(t, strlen(t), t + 1); return t; } return NULL; }
char *query_key(struct soap *soap, char **s) { char *t = *s; (void)soap; if (t && *t) { *s = (char*)soap_decode_string(t, strlen(t), t + 1); return t; } return *s = NULL; }