| 816 | } |
| 817 | |
| 818 | const jsmntok_t *jsonrpc_request_sync(const tal_t *ctx, |
| 819 | struct command *cmd, |
| 820 | const char *method, |
| 821 | const struct json_out *params TAKES, |
| 822 | const char **resp) |
| 823 | { |
| 824 | return sync_req(ctx, cmd->plugin, method, params, resp); |
| 825 | } |
| 826 | |
| 827 | /* Returns contents of scanning guide on 'result' */ |
| 828 | static const char *rpc_scan_core(const tal_t *ctx, |