| 573 | } |
| 574 | |
| 575 | static struct command_result *json_listincoming(struct command *cmd, |
| 576 | const char *buffer, |
| 577 | const jsmntok_t *params) |
| 578 | { |
| 579 | struct out_req *req; |
| 580 | |
| 581 | if (!param(cmd, buffer, params, NULL)) |
| 582 | return command_param_failed(); |
| 583 | |
| 584 | /* Add local info */ |
| 585 | req = jsonrpc_request_start(cmd, "listpeerchannels", |
| 586 | listpeerchannels_listincoming_done, |
| 587 | plugin_broken_cb, NULL); |
| 588 | return send_outreq(req); |
| 589 | } |
| 590 | |
| 591 | static void memleak_mark(struct plugin *p, struct htable *memtable) |
| 592 | { |
nothing calls this directly
no test coverage detected