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

Function add_deps

lightningd/plugin_hook.c:414–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414static void add_deps(const char ***arr,
415 const char *buffer,
416 const jsmntok_t *arrtok)
417{
418 const jsmntok_t *t;
419 size_t i;
420
421 if (!arrtok)
422 return;
423
424 json_for_each_arr(i, t, arrtok)
425 tal_arr_expand(arr, json_strdup(*arr, buffer, t));
426}
427
428void plugin_hook_add_deps(struct plugin_hook *hook,
429 struct plugin *plugin,

Callers 1

plugin_hook_add_depsFunction · 0.85

Calls 1

json_strdupFunction · 0.50

Tested by

no test coverage detected