| 402 | } |
| 403 | |
| 404 | static void json_add_layer_key(struct json_stream *js, |
| 405 | const char *fieldname, |
| 406 | const struct layer *layer) |
| 407 | { |
| 408 | json_array_start(js, fieldname); |
| 409 | json_add_string(js, NULL, "askrene"); |
| 410 | json_add_string(js, NULL, "layers"); |
| 411 | json_add_string(js, NULL, layer->name); |
| 412 | json_array_end(js); |
| 413 | } |
| 414 | |
| 415 | static void save_remove(struct layer *layer) |
| 416 | { |
no test coverage detected