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

Function feed_set

common/test/run-jsonrpc_io.c:133–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131static struct test_feed FEED;
132
133static void feed_set(const char *s, size_t max_chunk)
134{
135 FEED.data = s;
136 FEED.len = strlen(s);
137 FEED.off = 0;
138 FEED.max_chunk = max_chunk;
139 FEED.calls_to_io_read = 0;
140}
141
142static size_t feed_next_chunk(size_t want)
143{

Calls

no outgoing calls

Tested by

no test coverage detected