Function silc_hash_table_find_by_context_ext
SYNOPSIS
SilcBool
silc_hash_table_find_by_context_ext(SilcHashTable ht, void *key,
void *context, void **ret_key,
SilcHashFunction hash,
void *hash_user_context,
SilcHashCompare compare,
void *compare_user_context);
DESCRIPTION
Finds the entry in the hash table by the provided `key' and
`context' as fast as possible. This is handy function when there
can be multiple same keys in the hash table. By using this function
the specific key with specific context can be found. Return
TRUE if the entry with the key and context was found and FALSE
otherwise. The function returns only the key to `ret_key' since
the caller already knows the context.
The `hash' and `hash_user_context' are application specified hash
function. If not provided the hash table's default is used.
The `compare' and `compare_user_context' are application specified
comparing function. If not provided the hash table's default is used.
|