Empty new bytes read into our unparsed buffer */
| 38 | |
| 39 | /* Empty new bytes read into our unparsed buffer */ |
| 40 | static void add_newly_read(struct jsonrpc_io *json_in) |
| 41 | { |
| 42 | /* Now added it to our unparsed buffer */ |
| 43 | assert(json_in->bytes_read <= membuf_num_space(&json_in->membuf)); |
| 44 | membuf_added(&json_in->membuf, json_in->bytes_read); |
| 45 | json_in->bytes_read = 0; |
| 46 | } |
| 47 | |
| 48 | const char *jsonrpc_newly_read(struct jsonrpc_io *json_in, |
| 49 | size_t *len) |
no outgoing calls
no test coverage detected