void *foreach_user_context)
{
SilcHashTableEntry e, tmp;
void *foreach_user_context)
{
SilcHashTableEntry e, tmp;
SilcUInt32 i = SILC_HASH_TABLE_HASH(hash, hash_user_context);
SILC_HT_DEBUG(("index %d key %p", i, key));
SilcUInt32 i = SILC_HASH_TABLE_HASH(hash, hash_user_context);
SILC_HT_DEBUG(("index %d key %p", i, key));
silc_hash_table_add_internal(SilcHashTable ht, void *key, void *context,
SilcHashFunction hash,
void *hash_user_context)
silc_hash_table_add_internal(SilcHashTable ht, void *key, void *context,
SilcHashFunction hash,
void *hash_user_context)
silc_hash_table_replace_internal(SilcHashTable ht, void *key, void *context,
SilcHashFunction hash,
void *hash_user_context)
silc_hash_table_replace_internal(SilcHashTable ht, void *key, void *context,
SilcHashFunction hash,
void *hash_user_context)
void *compare_user_context,
SilcHashDestructor destructor,
void *destructor_user_context,
void *compare_user_context,
SilcHashDestructor destructor,
void *destructor_user_context,
call the destructor funtion for the found entry. Return TRUE if the
entry was removed successfully and FALSE otherwise. */
call the destructor funtion for the found entry. Return TRUE if the
entry was removed successfully and FALSE otherwise. */
have duplicate keys. In that case the `context' may be used to check
whether the correct entry is being deleted. */
have duplicate keys. In that case the `context' may be used to check
whether the correct entry is being deleted. */
respectively. If the `ret_key and `ret_context' are NULL then this
maybe used only to check whether given key exists in the table. */
respectively. If the `ret_key and `ret_context' are NULL then this
maybe used only to check whether given key exists in the table. */
void **ret_key, void **ret_context)
{
return silc_hash_table_find_ext(ht, key, ret_key, ret_context,
void **ret_key, void **ret_context)
{
return silc_hash_table_find_ext(ht, key, ret_key, ret_context,
void *context, void **ret_key)
{
return silc_hash_table_find_by_context_ext(ht, key, context, ret_key,
void *context, void **ret_key)
{
return silc_hash_table_find_by_context_ext(ht, key, context, ret_key,
int i;
SilcHashTableEntry *table, e, tmp;
SilcUInt32 table_size, size_index;
int i;
SilcHashTableEntry *table, e, tmp;
SilcUInt32 table_size, size_index;
int i;
SilcHashTableEntry *table, e, tmp;
SilcUInt32 table_size, size_index;
int i;
SilcHashTableEntry *table, e, tmp;
SilcUInt32 table_size, size_index;
`context' and TRUE. If this returns FALSE then there are no anymore
any entrys. Usage: while (silc_hash_table_get(&htl, &key, &context)) */
`context' and TRUE. If this returns FALSE then there are no anymore
any entrys. Usage: while (silc_hash_table_get(&htl, &key, &context)) */