dlist_init
Initializes the doubly-linked list specified by
list
. This operation must be called for
a doubly-linked list before the list can be used with any other
operation. The destroy
argument
provides a way to free dynamically allocated data when
dlist_destroy is called. It works in a manner
similar to that described for list_destroy.
For a doubly-linked list containing data that should not be freed,
destroy
should be set to NULL.
18.117.92.199