| 282 | } |
| 283 | |
| 284 | static struct command_result *command_complete(struct command *cmd, |
| 285 | struct json_stream *result) |
| 286 | { |
| 287 | /* Global object */ |
| 288 | json_object_end(result); |
| 289 | json_stream_close(result, cmd); |
| 290 | ld_send(cmd->plugin, result); |
| 291 | tal_free(cmd); |
| 292 | |
| 293 | return &complete; |
| 294 | } |
| 295 | |
| 296 | struct command_result *command_finished(struct command *cmd, |
| 297 | struct json_stream *response) |
no test coverage detected