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

Function plugin_opt_long_check

lightningd/plugin.c:909–916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

907}
908
909static char *plugin_opt_long_check(const char *arg, struct plugin_opt *popt)
910{
911 long v;
912 char *ret = opt_set_longval(arg, &v);
913 if (ret)
914 return ret;
915 return plugin_opt_check(popt);
916}
917
918static char *plugin_opt_bool_check(const char *arg, struct plugin_opt *popt)
919{

Callers

nothing calls this directly

Calls 2

opt_set_longvalFunction · 0.85
plugin_opt_checkFunction · 0.85

Tested by

no test coverage detected