| 1447 | } |
| 1448 | |
| 1449 | static struct io_plan *rpc_conn_init(struct io_conn *conn, |
| 1450 | struct plugin *plugin) |
| 1451 | { |
| 1452 | plugin->io_rpc_conn = conn; |
| 1453 | io_set_finish(conn, rpc_conn_finished, plugin); |
| 1454 | return io_duplex(conn, |
| 1455 | rpc_conn_read_response(conn, plugin), |
| 1456 | rpc_conn_write_request(conn, plugin)); |
| 1457 | } |
| 1458 | |
| 1459 | static struct feature_set *json_to_feature_set(struct plugin *plugin, |
| 1460 | const char *buf, |
nothing calls this directly
no test coverage detected