| 722 | } |
| 723 | |
| 724 | static const char *init(struct command *init_cmd, |
| 725 | const char *buf UNUSED, const jsmntok_t *config UNUSED) |
| 726 | { |
| 727 | plugin = init_cmd->plugin; |
| 728 | outgoing_commands = tal_arr(plugin, struct commando *, 0); |
| 729 | incoming_commands = tal_arr(plugin, struct commando *, 0); |
| 730 | plugin_set_memleak_handler(plugin, memleak_mark_globals); |
| 731 | |
| 732 | return NULL; |
| 733 | } |
| 734 | |
| 735 | static const struct plugin_command commands[] = { { |
| 736 | "commando", |
nothing calls this directly
no test coverage detected