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

Function parse_literal

common/json_parse.c:225–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 */
224
225static void parse_literal(const char **guide,
226 const char **literal,
227 size_t *len)
228{
229 *literal = *guide;
230 *len = strspn(*guide,
231 "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
232 "abcdefghijklmnopqrstuvwxyz"
233 "0123456789"
234 "_-");
235 *guide += *len;
236}
237
238static void parse_number(const char **guide, u32 *number)
239{

Callers 2

parse_fieldvalFunction · 0.85
parse_fieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected