Hubbub $Id$
Functions
string.h File Reference

Go to the source code of this file.

Functions

bool hubbub_string_match (const uint8_t *a, size_t a_len, const uint8_t *b, size_t b_len)
 Match two strings case-sensitively. More...
 
bool hubbub_string_match_ci (const uint8_t *a, size_t a_len, const uint8_t *b, size_t b_len)
 Match two strings case-insensitively. More...
 

Function Documentation

◆ hubbub_string_match()

bool hubbub_string_match ( const uint8_t *  a,
size_t  a_len,
const uint8_t *  b,
size_t  b_len 
)

Match two strings case-sensitively.

Match two strings case-sensitively.

Parameters
aString to compare
a_lenLength of first string
bString to compare
b_lenLength of second string

◆ hubbub_string_match_ci()

bool hubbub_string_match_ci ( const uint8_t *  a,
size_t  a_len,
const uint8_t *  b,
size_t  b_len 
)

Match two strings case-insensitively.

Match two strings case-insensitively.

Parameters
aString to compare
a_lenLength of first string
bString to compare
b_lenLength of second string