24 const uint8_t *b,
size_t b_len)
29 return memcmp((
const char *) a, (
const char *) b, b_len) == 0;
41 const uint8_t *b,
size_t b_len)
50 aa = (
'a' <= aa && aa <=
'z') ? (aa - 0x20) : aa;
51 bb = (
'a' <= bb && bb <=
'z') ? (bb - 0x20) : bb;
bool hubbub_string_match_ci(const uint8_t *a, size_t a_len, const uint8_t *b, size_t b_len)
Check that one string is case-insensitively equal to another.
bool hubbub_string_match(const uint8_t *a, size_t a_len, const uint8_t *b, size_t b_len)
Check that one string is exactly equal to another.