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

Function call_plugin_timer

plugins/libplugin.c:1208–1216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1206}
1207
1208static void call_plugin_timer(struct plugin *p, struct timer *timer)
1209{
1210 struct plugin_timer *t = container_of(timer, struct plugin_timer, timer);
1211
1212 p->in_timer++;
1213 /* Free this if they don't. */
1214 tal_steal(tmpctx, t);
1215 t->cb(t->cb_arg);
1216}
1217
1218static void destroy_plugin_timer(struct plugin_timer *timer, struct plugin *p)
1219{

Callers 1

plugin_mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected