MCPcopy Create free account
hub / github.com/ElementsProject/lightning / init

Function init

plugins/commando.c:724–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

722}
723
724static 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
735static const struct plugin_command commands[] = { {
736 "commando",

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected