RCP API  6.61.0

◆ c_list_export_to_string()

c_list_error_t c_list_export_to_string ( const c_list_t c_list,
char *  str,
size_t  size 
)

Convert list to a single string.

This function will convert the list into a single string that can be converted back into a list using c_list_import_from_string.

Note
The user_defined data for each entry is not part of the created string.
Parameters
[in]c_listlist_object
[out]strbuffer to hold output string
[in]sizesize of str
Returns
C_LIST_SUCCESS on success.