| 621 | } |
| 622 | |
| 623 | struct command_result *command_err_raw(struct command *cmd, |
| 624 | const char *json_str) |
| 625 | { |
| 626 | assert(cmd->type == COMMAND_TYPE_NORMAL |
| 627 | || cmd->type == COMMAND_TYPE_CHECK); |
| 628 | return command_done_raw(cmd, "error", |
| 629 | json_str, strlen(json_str)); |
| 630 | } |
| 631 | |
| 632 | struct command_result *timer_complete(struct command *cmd) |
| 633 | { |
no test coverage detected