openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/sysfsutils/2.1.0-r5/sysfsutils-2.1.0/lib/dlist.c
Dlist* dlist_new_with_delete(size_t datasize, void (*del_func)(void*))
{
    Dlist* list = NULL;
    list = dlist_new(datasize);
    if (list != NULL)
        list->del_func = del_func;
    return (list);
}
/*
 * Create new linked list to store nodes of datasize set list
 * data node delete function to the passed in del_func
 * return null if list cannot be created.
 */
Create new linked list to store nodes of datasize set list
data node delete function to the passed in del_func
return null if list cannot be created.
Create new linked list to store nodes of datasize set list data node delete function to the passed in del_func return null if list cannot be created .
Dlist* dlist_new_with_delete(size_t datasize, void (*del_func)(void*))
{
    Dlist* list = NULL;
    list = dlist_new(datasize);
    if (list != NULL)
        list->del_func = del_func;
    return (list);
}
Dlist * dlist_new_with_delete ( size_t datasize , void ( * del_func ) ( void * ) ) { Dlist * list = NULL ; list = dlist_new ( datasize ) ; if ( list != NULL ) list -> del_func = del_func ; return ( list ) ; }
Create new linked list to store nodes of datasize set list
 data node delete function to the passed in del_func
 return null if list cannot be created.
Create new linked list to store nodes of datasize set list data node delete function to the passed in del_func return null if list cannot be created .