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

Function destroy_plugin_opt

lightningd/plugin.c:897–902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

895}
896
897static void destroy_plugin_opt(struct plugin_opt *opt)
898{
899 /* does nothing when "name" registration replaced its double */
900 opt_unregister(opt->name);
901 list_del(&opt->list);
902}
903
904/* Add a single plugin option to the plugin as well as registering it with the
905 * command line options. */

Callers

nothing calls this directly

Calls 1

opt_unregisterFunction · 0.85

Tested by

no test coverage detected