Sample code a generic doubly linked list in C.