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

Function popt_show_default

lightningd/plugin.c:933–940  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

931}
932
933static bool popt_show_default(char *buf, size_t len,
934 const struct plugin_opt *popt)
935{
936 if (!popt->def)
937 return false;
938 strncpy(buf, popt->def, len);
939 return true;
940}
941
942static void destroy_plugin_opt(struct plugin_opt *opt,
943 struct plugin *plugin)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected