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

Function streq_case

common/status_levels.c:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23static bool streq_case(const char *str, const char *s, size_t len)
24{
25 if (len != strlen(str))
26 return false;
27 return strncasecmp(str, s, len) == 0;
28}
29
30bool log_level_parse(const char *levelstr, size_t len,
31 enum log_level *level)

Callers 1

log_level_parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected