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

Function rbuf_start

ccan/ccan/rbuf/rbuf.h:109–112  ·  view source on GitHub ↗

* rbuf_start - helper to get pointert to unconsumed bytes in rbuf * @rbuf: the struct rbuf */

Source from the content-addressed store, hash-verified

107 * @rbuf: the struct rbuf
108 */
109static inline char *rbuf_start(const struct rbuf *rbuf)
110{
111 return membuf_elems(&rbuf->m);
112}
113
114/**
115 * rbuf_fill_all - read rest of file into a buffer.

Callers 5

rbuf_fill_allFunction · 0.85
rbuf_fillFunction · 0.85
rbuf_read_strFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 2

mainFunction · 0.68
mainFunction · 0.68