| www.delorie.com/gnu/docs/avl/libavl_20.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These functions initialize traversers. A traverser must be initialized with one of these functions before it is passed to any other traverser function.
/* Table traverser functions. */ void tbl_t_init (struct tbl_traverser *, struct tbl_table *); void *tbl_t_first (struct tbl_traverser *, struct tbl_table *); void *tbl_t_last (struct tbl_traverser *, struct tbl_table *); void *tbl_t_find (struct tbl_traverser *, struct tbl_table *, void *); void *tbl_t_insert (struct tbl_traverser *, struct tbl_table *, void *); void *tbl_t_copy (struct tbl_traverser *, const struct tbl_traverser *); |
All of these functions take a traverser to initialize as their first argument, and most take a table to associate the traverser with as their second argument. These arguments are here called trav and table. All, except tbl_t_init(), return the item to which trav is initialized, using a null pointer to represent the null item. None of the arguments to these functions may ever be a null pointer.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |