RCP API  6.61.0

◆ c_list_create()

c_list_t * c_list_create ( c_list_malloc_t  c_list_malloc,
c_list_free_t  c_list_free 
)

Create list.

Parameters
[in]c_list_mallocallocator function to use for all dynamic memory allocations (typically this will be malloc)
[in]c_list_freede-allocator function to use for all dynamic memory de-allocations (typically this will be free)
Returns
pointer to newly allocated list (must be deleted by calling c_list_delete) or NULL on error.