RCP API  6.61.0

◆ c_list_set_entry()

c_list_error_t c_list_set_entry ( c_list_t c_list,
size_t  idx,
const c_list_entry_t c_list_entry 
)

Set entry details by index.

Replace the given entry (specified by the index idx) with the data contained in c_list_entry.

Parameters
[in]c_listlist_object
[in]idxindex of item to replace
[in]c_list_entrypointer to entry object containing new data
Returns
C_LIST_SUCCESS on success.