struct demo { bpo_Node_t demo_node; char name[80]; };If a list structure has been allocated demo_list_ptr and has number of these structures on it, it is possible to list the contents by calling the print_demo_list() function shown below.
static void print_demo_item( struct demo *dp, FILE *fh ) { fprintf( fh, "Item: %s\n", qp->name ); return; } void print_demo_list( FILE *fh ) { bpo_Walk_List( demo_list_ptr, (bpo_Walk_List_t)print_demo_item, fh ); return; }