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

Function plugin_stream_complete

lightningd/plugin.c:815–822  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

813 struct plugin *plugin);
814
815static struct io_plan *plugin_stream_complete(struct io_conn *conn, struct json_stream *js, struct plugin *plugin)
816{
817 list_del_from(&plugin->jsouts, &js->list);
818 /* It got dropped off the queue, free it. */
819 tal_free(js);
820
821 return plugin_write_json(conn, plugin);
822}
823
824static struct io_plan *plugin_write_json(struct io_conn *conn,
825 struct plugin *plugin)

Callers

nothing calls this directly

Calls 3

list_del_fromFunction · 0.85
tal_freeFunction · 0.85
plugin_write_jsonFunction · 0.85

Tested by

no test coverage detected