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

Function json_tok_streq

common/json_parse_simple.c:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36bool json_tok_streq(const char *buffer, const jsmntok_t *tok, const char *str)
37{
38 return json_tok_strneq(buffer, tok, str, strlen(str));
39}
40
41bool json_tok_startswith(const char *buffer, const jsmntok_t *tok,
42 const char *prefix)

Callers 8

json_to_sat_or_allFunction · 0.70
json_to_coin_mvt_tagFunction · 0.70
param_sat_or_allFunction · 0.70
compare_helpFunction · 0.50
human_helpFunction · 0.50
delete_format_hintFunction · 0.50
handle_notifyFunction · 0.50
mainFunction · 0.50

Calls 1

json_tok_strneqFunction · 0.85

Tested by

no test coverage detected