| 344 | } |
| 345 | |
| 346 | static void slowcmd_start(struct slowcmd *sc) |
| 347 | { |
| 348 | sc->js = json_stream_success(sc->cmd); |
| 349 | new_reltimer(sc->cmd->ld->timers, sc, time_from_msec(*sc->msec), |
| 350 | slowcmd_finish, sc); |
| 351 | } |
| 352 | |
| 353 | static struct command_result *json_dev(struct command *cmd UNUSED, |
| 354 | const char *buffer, |
nothing calls this directly
no test coverage detected