Name
cyg_mdns_strcasecmp_strtab — Compare two encoded string-tables ignoring case
Synopsis
#include <mdns.h>
int cyg_mdns_strcasecmp_strtab(
const cyg_uint8 *t1, const cyg_uint8 *t2)
;
Description
This function allows a field-by-field comparison of two encoded string-table buffers to be performed.
Note | |
---|---|
This function is not available if the system is not configured
with |
The referenced string-table parameters should be pointers to
uncompressed, contiguous, NUL
-terminated encoded
strings of the form:
static const cyg_uint8 encoded_string_example[] = { 0x08,'t','e','s','t','n','a','m','e', 0x05,'_','h','t','t','p', 0x00 };
Return value
Returns an integer value equal to zero if t1
is
found to exactly match t2
(ignoring case),
otherwise a non-zero value is returned on a failure to match.
2024-03-18 | eCosPro Non-Commercial Public License |