XenevaOS
Loading...
Searching...
No Matches
Functions
string.c File Reference
#include <stddef.h>
#include <inttypes.h>
#include <stdbool.h>
#include <string.h>
Include dependency graph for string.c:

Functions

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

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 
)

Check that one string is exactly equal to another

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 
)

Check that one string is case-insensitively equal to another

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