| 1192 | } |
| 1193 | |
| 1194 | static bool jsonrpc_command_add_perm(struct lightningd *ld, |
| 1195 | struct jsonrpc *rpc, |
| 1196 | struct json_command *command) |
| 1197 | { |
| 1198 | if (!command_add(rpc, command)) |
| 1199 | return false; |
| 1200 | setup_command_usage(ld, command); |
| 1201 | return true; |
| 1202 | } |
| 1203 | |
| 1204 | static void destroy_jsonrpc(struct jsonrpc *jsonrpc) |
| 1205 | { |
no test coverage detected