projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added SilcStack support to SILC Hash Table API.
[silc.git]
/
lib
/
silcapputil
/
silcidcache.c
diff --git
a/lib/silcapputil/silcidcache.c
b/lib/silcapputil/silcidcache.c
index a6d8c26edeb7e4a49ad77917f76deb19c8f1e185..d189e9321ee8568cab41ec777d86d324de3946f9 100644
(file)
--- a/
lib/silcapputil/silcidcache.c
+++ b/
lib/silcapputil/silcidcache.c
@@
-78,15
+78,15
@@
SilcIDCache silc_idcache_alloc(SilcUInt32 count, SilcIdType id_type,
if (!cache)
return NULL;
if (!cache)
return NULL;
- cache->id_table = silc_hash_table_alloc(count, silc_hash_id,
+ cache->id_table = silc_hash_table_alloc(
NULL,
count, silc_hash_id,
SILC_32_TO_PTR(id_type),
silc_hash_id_compare,
SILC_32_TO_PTR(id_type),
NULL, NULL, TRUE);
SILC_32_TO_PTR(id_type),
silc_hash_id_compare,
SILC_32_TO_PTR(id_type),
NULL, NULL, TRUE);
- cache->name_table = silc_hash_table_alloc(
count, silc_hash_utf8_string, NULL
,
- silc_hash_utf8_compare, NULL,
+ cache->name_table = silc_hash_table_alloc(
NULL, count, silc_hash_utf8_string
,
+
NULL,
silc_hash_utf8_compare, NULL,
NULL, NULL, TRUE);
NULL, NULL, TRUE);
- cache->context_table = silc_hash_table_alloc(count, silc_hash_ptr, NULL,
+ cache->context_table = silc_hash_table_alloc(
NULL,
count, silc_hash_ptr, NULL,
NULL, NULL, NULL, NULL, TRUE);
cache->destructor = destructor;
cache->context = destructor_context;
NULL, NULL, NULL, NULL, TRUE);
cache->destructor = destructor;
cache->context = destructor_context;