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

Function opt_canon_bool

lightningd/options.c:1904–1909  ·  view source on GitHub ↗

Canonicalize value they've given */

Source from the content-addressed store, hash-verified

1902
1903/* Canonicalize value they've given */
1904bool opt_canon_bool(const char *val)
1905{
1906 bool b;
1907 opt_set_bool_arg(val, &b);
1908 return b;
1909}
1910
1911bool is_known_opt_cb_arg(char *(*cb_arg)(const char *, void *))
1912{

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