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

Function daemon_conn_read_next

common/daemon_conn.c:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38struct io_plan *daemon_conn_read_next(struct io_conn *conn,
39 struct daemon_conn *dc)
40{
41 /* FIXME: We could use disposable parent instead, and recv() could
42 * tal_steal() it? If they did that now, we'd free it here. */
43 tal_free(dc->msg_in);
44 return io_read_wire(conn, dc, &dc->msg_in, handle_read, dc);
45}
46
47static struct io_plan *handle_recv_fd(struct io_conn *conn,
48 struct daemon_conn *dc)

Callers 7

recv_peer_connect_subdFunction · 0.85
recv_reqFunction · 0.85
recv_gossipFunction · 0.85
handle_get_addressFunction · 0.85
connectd_reqFunction · 0.85
recv_reqFunction · 0.85
daemon_conn_startFunction · 0.85

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected