www.delorie.com/gnu/docs/avl/libavl_52.html   search  
 
Buy GNU books!


GNU libavl 2.0.1

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.9.3.1 Starting at the Null Node

The trav_t_init() function just initializes a traverser to the null item, indicated by a null pointer for bst_node.

 
void 
bst_t_init (struct bst_traverser *trav, struct bst_table *tree)
{ trav-&#62;bst_table = tree; trav-&#62;bst_node = NULL; trav-&#62;bst_height = 0; trav-&#62;bst_generation = tree-&#62;bst_generation; }
This code is included in @refalso{63


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003