35 return m ? m->
count : 0;
47 i = prev - m->elems + 1;
51 for (; i < m->count; i++) {
52 const char *
s = m->elems[i].key;
54 for (j = 0; s[j] == key[j] && key[j]; j++)
105 int len = strlen(oldval) + strlen(value) + 1;
138 snprintf(valuestr,
sizeof(valuestr),
"%"PRId64, value);
143 const char *key_val_sep,
const char *pairs_sep,
150 if (key && *key && strspn(*buf, key_val_sep)) {
155 if (key && *key && val && *val)
167 const char *key_val_sep,
const char *pairs_sep,