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

Function daemon_conn_start

common/daemon_conn.c:123–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123static struct io_plan *daemon_conn_start(struct io_conn *conn,
124 struct daemon_conn *dc)
125{
126 return io_duplex(conn, daemon_conn_read_next(conn, dc),
127 /* Could call daemon_conn_write_next, but we don't
128 * want it to call empty_cb just yet! */
129 msg_queue_wait(conn, dc->out,
130 daemon_conn_write_next, dc));
131}
132
133static void destroy_dc_from_conn(struct io_conn *conn, struct daemon_conn *dc)
134{

Callers

nothing calls this directly

Calls 2

io_duplexFunction · 0.85
daemon_conn_read_nextFunction · 0.85

Tested by

no test coverage detected