| 1437 | } |
| 1438 | |
| 1439 | static struct io_plan *rpc_conn_init(struct io_conn *conn, |
| 1440 | struct plugin *plugin) |
| 1441 | { |
| 1442 | plugin->io_rpc_conn = conn; |
| 1443 | io_set_finish(conn, rpc_conn_finished, plugin); |
| 1444 | return io_duplex(conn, |
| 1445 | rpc_conn_read_response(conn, plugin), |
| 1446 | rpc_conn_write_request(conn, plugin)); |
| 1447 | } |
| 1448 | |
| 1449 | static struct feature_set *json_to_feature_set(struct plugin *plugin, |
| 1450 | const char *buf, |
nothing calls this directly
no test coverage detected