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

Function parse_literal

common/json_parse.c:209–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207 */
208
209static void parse_literal(const char **guide,
210 const char **literal,
211 size_t *len)
212{
213 *literal = *guide;
214 *len = strspn(*guide,
215 "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
216 "abcdefghijklmnopqrstuvwxyz"
217 "0123456789"
218 "_-");
219 *guide += *len;
220}
221
222static void parse_number(const char **guide, u32 *number)
223{

Callers 2

parse_fieldvalFunction · 0.85
parse_fieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected