silc_tree_add

SYNOPSIS

    SilcBool silc_tree_add(SilcTree *tree, void *entry);

DESCRIPTION

Add `entry' to the `tree'. Returns TRUE after the entry has been added to the tree. If the `tree' does not allow duplicate entries this will return FALSE if same value as `entry' is already in the tree.

EXAMPLE

 FooEntry *client_entry;

 client_entry->id = id;
 client_entry->name = name;
 silc_tree_add(tree, client_entry);