| 611 | } |
| 612 | |
| 613 | struct command_result *command_err_raw(struct command *cmd, |
| 614 | const char *json_str) |
| 615 | { |
| 616 | assert(cmd->type == COMMAND_TYPE_NORMAL |
| 617 | || cmd->type == COMMAND_TYPE_CHECK); |
| 618 | return command_done_raw(cmd, "error", |
| 619 | json_str, strlen(json_str)); |
| 620 | } |
| 621 | |
| 622 | struct command_result *timer_complete(struct command *cmd) |
| 623 | { |
no test coverage detected