| 986 | } |
| 987 | |
| 988 | static struct io_plan *rpc_conn_init(struct io_conn *conn, |
| 989 | struct plugin *plugin) |
| 990 | { |
| 991 | plugin->io_rpc_conn = conn; |
| 992 | io_set_finish(conn, rpc_conn_finished, plugin); |
| 993 | return io_duplex(conn, |
| 994 | rpc_conn_read_response(conn, plugin), |
| 995 | rpc_conn_write_request(conn, plugin)); |
| 996 | } |
| 997 | |
| 998 | static struct feature_set *json_to_feature_set(struct plugin *plugin, |
| 999 | const char *buf, |
nothing calls this directly
no test coverage detected