Next: sll_prev, Previous: sll_node_get_data, Up: Singly Linked Lists
Replace the data pointer in a given node with another.
#include <linklist/linklist.h>void sll_node_put_data( SLLNode unode, void *data );
SLLNode 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.