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

Function opt_canon_bool

lightningd/options.c:1944–1949  ·  view source on GitHub ↗

Canonicalize value they've given */

Source from the content-addressed store, hash-verified

1942
1943/* Canonicalize value they've given */
1944bool opt_canon_bool(const char *val)
1945{
1946 bool b;
1947 opt_set_bool_arg(val, &b);
1948 return b;
1949}
1950
1951bool is_known_opt_cb_arg(char *(*cb_arg)(const char *, void *))
1952{

Callers 2

json_add_plugin_valFunction · 0.85
json_add_configvalFunction · 0.85

Calls 1

opt_set_bool_argFunction · 0.85

Tested by

no test coverage detected