Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ rbuf_fill
Function
rbuf_fill
ccan/ccan/rbuf/rbuf.c:62–69 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
60
}
61
62
void *rbuf_fill(struct rbuf *rbuf)
63
{
64
if (!rbuf_len(rbuf)) {
65
if (get_more(rbuf) < 0)
66
return NULL;
67
}
68
return rbuf_start(rbuf);
69
}
70
71
char *rbuf_read_str(struct rbuf *rbuf, char term)
72
{
Callers
1
main
Function · 0.85
Calls
3
rbuf_len
Function · 0.85
get_more
Function · 0.85
rbuf_start
Function · 0.85
Tested by
1
main
Function · 0.68