RCP API  6.61.0

◆ c_list_find_strn()

c_list_error_t c_list_find_strn ( c_list_t c_list,
const char *  str,
size_t  len,
c_list_entry_t c_list_entry 
)

Find entry by partial string.

Finds the entry in the list that matches the specified string str up to the length len. The entry, if found, is set as the current entry.

Parameters
[in]c_listlist object
[in]strstring to find
[in]lenlength of characters to compare
[out]c_list_entrypointer to entry object to copy data to
Returns
C_LIST_SUCCESS if a match is found.