Implement the dlist_ins_next(), dlist_ins_prev() and dlist_remove()