| 62 | } |
| 63 | |
| 64 | static struct command_result *json_shutdown(struct command *cmd, |
| 65 | const char *buf, |
| 66 | const jsmntok_t *params) |
| 67 | { |
| 68 | plugin_log(cmd->plugin, LOG_DBG, "shutdown called"); |
| 69 | |
| 70 | if (dont_shutdown) |
| 71 | return notification_handled(cmd); |
| 72 | |
| 73 | plugin_exit(cmd->plugin, 0); |
| 74 | } |
| 75 | |
| 76 | static struct command_result *testrpc_cb(struct command *cmd, |
| 77 | const char *buf, |
nothing calls this directly
no test coverage detected