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

Function json_scan

common/json_parse.c:488–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486}
487
488const char *json_scan(const tal_t *ctx,
489 const char *buffer,
490 const jsmntok_t *tok,
491 const char *guide,
492 ...)
493{
494 va_list ap;
495 const char *ret;
496
497 va_start(ap, guide);
498 ret = json_scanv(ctx, buffer, tok, guide, ap);
499 va_end(ap);
500 return ret;
501}
502
503bool json_to_bitcoin_amount(const char *buffer, const jsmntok_t *tok,
504 uint64_t *satoshi)

Callers 2

json_to_reply_pathFunction · 0.70
param_routehintFunction · 0.70

Calls 1

json_scanvFunction · 0.70

Tested by

no test coverage detected