liblsavl.c File Reference

#include "liblsavl.h"

Functions

t_avl_classavl_insert_class (t_avl_class *clt, t_class *key)
t_classavl_search_class (t_avl_class *clt, int class)

Function Documentation

t_avl_class* avl_insert_class t_avl_class clt,
t_class key
 

Inserts an element into the AVL holding the classes. (key->class is tested)

Parameters:
clt The current node of the avl.
key The key we want to add into the avl.
Returns:
The current node (because it might have changed)

t_class* avl_search_class t_avl_class clt,
int  class
 

Looks for a given element in the AVL. It returns NULL if not found.

Parameters:
clt The node we want to start the research from
class The class we're looking for
Returns:
The key, if the class if found, otherwise NULL.


Generated on Wed May 24 23:06:01 2006 for LSE/OS by  doxygen 1.4.6