Next: , Previous: dll_node_get_data, Up: Doubly Linked Lists


3.2.24 dll_node_put_data

Replace the data pointer in a given node with another.

Synopsis

     #include <linklist/linklist.h>
     
     
     
void dll_node_put_data( DLLNode unode, void *data );

Parameters

DLLNode unode
the node in question
void *data
the new data

Description

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.