silc_tree_find
SYNOPSIS
void *silc_tree_find(SilcTree *tree, void *entry);
DESCRIPTION
Find entry from the tree. Returns the found entry or NULL if the entry does not exist in the tree and sets silc_errno.
If there are duplicate values in the tree this will find the first one. Rest of the duplicate values can be found by calling silc_tree_enumerate_duplicates. It will stop the enumeration when the last duplicate entry is returned.
EXAMPLE
FooEntry probe, *client_entry; // Find entry by ID 100 probe.id = 100; client_entry = silc_tree_find(tree, &probe);