cyg_mdns_build_strtab_vector — Build vector of pointers to individual encoded string fields
cyg_uint8 cyg_mdns_build_strtab_vector(const cyg_uint8 *strtab, cyg_uint8 **labels, cyg_uint8 vlen
This helper function is used to construct a vector of the individual
label fields present in the supplied, uncompressed,
This function is not available if the system is not configured
If the passed
NULL then the function counts the number of
entries needed to hold pointers to the individual label field entries
NUL-terminated string-table, so can be
used to ascertain the size of vector needed for a specific encoded
parameter specifies the number of vector slots available to receive
pointers into the
strtab buffer for the
individual label field entries. When populating the
labels vector a
NULL pointer is added.
This function is similar in operation to
function, so a similar approach it its example can be used to build
and subsequently process a vector of pointers.
Returns a count of the number of fields within the referenced uncompressed encoded string.
|2023-01-12||eCosPro Non-Commercial Public License|