Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ ringbuf_avail
Function
ringbuf_avail
lightningd/log.c:166–169 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
164
}
165
166
static size_t ringbuf_avail(const struct log_book *log)
167
{
168
return sizeof(log->ringbuf) - ringbuf_used(log);
169
}
170
171
static void log_prefix_drop(struct log_prefix *lp)
172
{
Callers
2
add_entry
Function · 0.85
main
Function · 0.85
Calls
1
ringbuf_used
Function · 0.85
Tested by
1
main
Function · 0.68