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

Function plugin_opt_bool_check

lightningd/plugin.c:918–926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

916}
917
918static char *plugin_opt_bool_check(const char *arg, struct plugin_opt *popt)
919{
920 bool v;
921 char *ret = opt_set_bool_arg(arg, &v);
922 if (ret)
923 return ret;
924
925 return plugin_opt_check(popt);
926}
927
928static char *plugin_opt_flag_check(struct plugin_opt *popt)
929{

Callers

nothing calls this directly

Calls 2

opt_set_bool_argFunction · 0.85
plugin_opt_checkFunction · 0.85

Tested by

no test coverage detected