Next: dll_prev, Previous: dll_node_get_data, Up: Doubly Linked Lists
Replace the data pointer in a given node with another.
#include <linklist/linklist.h>void dll_node_put_data( DLLNode unode, void *data );
DLLNode unode
- the node in question
void *data
- the new data
This function allows the calling routine to change the data that a node points to. No check is made to insure that any existing ordering of the data is maintained.