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

Function get_hooks

lightningd/plugin_hook.c:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37};
38
39static struct plugin_hook **get_hooks(size_t *num)
40{
41 static struct plugin_hook **hooks = NULL;
42 static size_t num_hooks;
43 if (!hooks)
44 hooks = autodata_get(hooks, &num_hooks);
45 *num = num_hooks;
46 return hooks;
47}
48
49static struct plugin_hook *plugin_hook_by_name(const char *name)
50{

Callers 2

plugin_hook_by_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected