| 1355 | } |
| 1356 | |
| 1357 | static bool jsonrpc_command_add_perm(struct lightningd *ld, |
| 1358 | struct jsonrpc *rpc, |
| 1359 | struct json_command *command) |
| 1360 | { |
| 1361 | if (!command_add(rpc, command)) |
| 1362 | return false; |
| 1363 | setup_command_usage(ld, command); |
| 1364 | return true; |
| 1365 | } |
| 1366 | |
| 1367 | static void destroy_jsonrpc(struct jsonrpc *jsonrpc) |
| 1368 | { |
no test coverage detected