| 955 | AUTODATA(json_command, &dev_suppress_gossip); |
| 956 | |
| 957 | static struct command_result *json_dev_report_fds(struct command *cmd, |
| 958 | const char *buffer, |
| 959 | const jsmntok_t *obj UNNEEDED, |
| 960 | const jsmntok_t *params) |
| 961 | { |
| 962 | if (!param(cmd, buffer, params, NULL)) |
| 963 | return command_param_failed(); |
| 964 | |
| 965 | subd_send_msg(cmd->ld->connectd, |
| 966 | take(towire_connectd_dev_report_fds(NULL))); |
| 967 | |
| 968 | return command_success(cmd, json_stream_success(cmd)); |
| 969 | } |
| 970 | |
| 971 | static const struct json_command dev_report_fds = { |
| 972 | "dev-report-fds", |
nothing calls this directly
no test coverage detected