| 46 | } |
| 47 | |
| 48 | const char *jsonrpc_newly_read(struct jsonrpc_io *json_in, |
| 49 | size_t *len) |
| 50 | { |
| 51 | *len = json_in->bytes_read; |
| 52 | |
| 53 | add_newly_read(json_in); |
| 54 | |
| 55 | return membuf_space(&json_in->membuf) - *len; |
| 56 | } |
| 57 | |
| 58 | const char *jsonrpc_io_parse(const tal_t *ctx, |
| 59 | struct jsonrpc_io *json_in, |
no test coverage detected