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

Function get_hooks

lightningd/plugin_hook.c:42–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

plugin_hook_by_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected