| 173 | } |
| 174 | |
| 175 | static void dk_set(dk_t *d, dk_var_t **list, const char *name, const char *value) { |
| 176 | dk_var_t *v = cbm_arena_alloc(d->a, sizeof(*v)); |
| 177 | if (v) { |
| 178 | *v = (dk_var_t){.name = name, .value = value, .next = *list}; |
| 179 | *list = v; |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | /* ASCII case-insensitive equality (stage names, `scratch`). */ |
| 184 | static bool dk_ieq(const char *a, const char *b) { |
no test coverage detected