MCPcopy Create free account
hub / github.com/ElementsProject/lightning / jsonrpc_newly_read

Function jsonrpc_newly_read

common/jsonrpc_io.c:48–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48const 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
58const char *jsonrpc_io_parse(const tal_t *ctx,
59 struct jsonrpc_io *json_in,

Callers 2

plugin_read_jsonFunction · 0.85
read_jsonFunction · 0.85

Calls 1

add_newly_readFunction · 0.85

Tested by

no test coverage detected