projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bool -> SilcBool.
[silc.git]
/
lib
/
silcutil
/
silchashtable.h
diff --git
a/lib/silcutil/silchashtable.h
b/lib/silcutil/silchashtable.h
index 612038034c9f4c38414c0e8e2f9e75cd4f87d860..012ce5ee36c121f3aecd0e7baadaf2fc0a3b5929 100644
(file)
--- a/
lib/silcutil/silchashtable.h
+++ b/
lib/silcutil/silchashtable.h
@@
-114,7
+114,7
@@
typedef SilcUInt32 (*SilcHashFunction)(void *key, void *user_context);
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- * typedef
b
ool (*SilcHashCompare)(void *key1, void *key2,
+ * typedef
SilcB
ool (*SilcHashCompare)(void *key1, void *key2,
* void *user_context);
*
* DESCRIPTION
* void *user_context);
*
* DESCRIPTION
@@
-126,7
+126,7
@@
typedef SilcUInt32 (*SilcHashFunction)(void *key, void *user_context);
* to the callback.
*
***/
* to the callback.
*
***/
-typedef
b
ool (*SilcHashCompare)(void *key1, void *key2, void *user_context);
+typedef
SilcB
ool (*SilcHashCompare)(void *key1, void *key2, void *user_context);
/****f* silcutil/SilcHashTableAPI/SilcHashDestructor
*
/****f* silcutil/SilcHashTableAPI/SilcHashDestructor
*
@@
-175,7
+175,7
@@
typedef void (*SilcHashForeach)(void *key, void *context, void *user_context);
* void *compare_user_context,
* SilcHashDestructor destructor,
* void *destructor_user_context,
* void *compare_user_context,
* SilcHashDestructor destructor,
* void *destructor_user_context,
- *
b
ool auto_rehash);
+ *
SilcB
ool auto_rehash);
*
* DESCRIPTION
*
*
* DESCRIPTION
*
@@
-195,7
+195,7
@@
SilcHashTable silc_hash_table_alloc(SilcUInt32 table_size,
void *compare_user_context,
SilcHashDestructor destructor,
void *destructor_user_context,
void *compare_user_context,
SilcHashDestructor destructor,
void *destructor_user_context,
-
b
ool auto_rehash);
+
SilcB
ool auto_rehash);
/****f* silcutil/SilcHashTableAPI/silc_hash_table_free
*
/****f* silcutil/SilcHashTableAPI/silc_hash_table_free
*
@@
-276,7
+276,7
@@
void silc_hash_table_replace(SilcHashTable ht, void *key, void *context);
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- *
b
ool silc_hash_table_del(SilcHashTable ht, void *key);
+ *
SilcB
ool silc_hash_table_del(SilcHashTable ht, void *key);
*
* DESCRIPTION
*
*
* DESCRIPTION
*
@@
-285,13
+285,13
@@
void silc_hash_table_replace(SilcHashTable ht, void *key, void *context);
* entry was removed successfully and FALSE otherwise.
*
***/
* entry was removed successfully and FALSE otherwise.
*
***/
-
b
ool silc_hash_table_del(SilcHashTable ht, void *key);
+
SilcB
ool silc_hash_table_del(SilcHashTable ht, void *key);
/****f* silcutil/SilcHashTableAPI/silc_hash_table_del_by_context
*
* SYNOPSIS
*
/****f* silcutil/SilcHashTableAPI/silc_hash_table_del_by_context
*
* SYNOPSIS
*
- *
b
ool silc_hash_table_del_by_context(SilcHashTable ht, void *key,
+ *
SilcB
ool silc_hash_table_del_by_context(SilcHashTable ht, void *key,
* void *context);
*
* DESCRIPTION
* void *context);
*
* DESCRIPTION
@@
-302,14
+302,14
@@
bool silc_hash_table_del(SilcHashTable ht, void *key);
* be used to check whether the correct entry is being deleted.
*
***/
* be used to check whether the correct entry is being deleted.
*
***/
-
b
ool silc_hash_table_del_by_context(SilcHashTable ht, void *key,
+
SilcB
ool silc_hash_table_del_by_context(SilcHashTable ht, void *key,
void *context);
/****f* silcutil/SilcHashTableAPI/silc_hash_table_find
*
* SYNOPSIS
*
void *context);
/****f* silcutil/SilcHashTableAPI/silc_hash_table_find
*
* SYNOPSIS
*
- *
b
ool silc_hash_table_find(SilcHashTable ht, void *key,
+ *
SilcB
ool silc_hash_table_find(SilcHashTable ht, void *key,
* void **ret_key, void **ret_context);
*
* DESCRIPTION
* void **ret_key, void **ret_context);
*
* DESCRIPTION
@@
-321,14
+321,14
@@
bool silc_hash_table_del_by_context(SilcHashTable ht, void *key,
* maybe used only to check whether given key exists in the table.
*
***/
* maybe used only to check whether given key exists in the table.
*
***/
-
b
ool silc_hash_table_find(SilcHashTable ht, void *key,
+
SilcB
ool silc_hash_table_find(SilcHashTable ht, void *key,
void **ret_key, void **ret_context);
/****f* silcutil/SilcHashTableAPI/silc_hash_table_find_by_context
*
* SYNOPSIS
*
void **ret_key, void **ret_context);
/****f* silcutil/SilcHashTableAPI/silc_hash_table_find_by_context
*
* SYNOPSIS
*
- *
b
ool silc_hash_table_find_by_context(SilcHashTable ht, void *key,
+ *
SilcB
ool silc_hash_table_find_by_context(SilcHashTable ht, void *key,
* void *context, void **ret_key);
*
* DESCRIPTION
* void *context, void **ret_key);
*
* DESCRIPTION
@@
-342,7
+342,7
@@
bool silc_hash_table_find(SilcHashTable ht, void *key,
* the caller already knows the context.
*
***/
* the caller already knows the context.
*
***/
-
b
ool silc_hash_table_find_by_context(SilcHashTable ht, void *key,
+
SilcB
ool silc_hash_table_find_by_context(SilcHashTable ht, void *key,
void *context, void **ret_key);
/****f* silcutil/SilcHashTableAPI/silc_hash_table_find_foreach
void *context, void **ret_key);
/****f* silcutil/SilcHashTableAPI/silc_hash_table_find_foreach
@@
-450,7
+450,7
@@
void silc_hash_table_list_reset(SilcHashTableList *htl);
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- *
b
ool silc_hash_table_get(SilcHashTableList *htl, void **key,
+ *
SilcB
ool silc_hash_table_get(SilcHashTableList *htl, void **key,
* void **context);
*
* DESCRIPTION
* void **context);
*
* DESCRIPTION
@@
-460,7
+460,7
@@
void silc_hash_table_list_reset(SilcHashTableList *htl);
* any entrys.
*
***/
* any entrys.
*
***/
-
b
ool silc_hash_table_get(SilcHashTableList *htl, void **key, void **context);
+
SilcB
ool silc_hash_table_get(SilcHashTableList *htl, void **key, void **context);
/* Extended hash table interface (same as above but with specific
/* Extended hash table interface (same as above but with specific
@@
-516,7
+516,7
@@
void silc_hash_table_replace_ext(SilcHashTable ht, void *key, void *context,
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- *
b
ool silc_hash_table_del_ext(SilcHashTable ht, void *key,
+ *
SilcB
ool silc_hash_table_del_ext(SilcHashTable ht, void *key,
* SilcHashFunction hash,
* void *hash_user_context,
* SilcHashCompare compare,
* SilcHashFunction hash,
* void *hash_user_context,
* SilcHashCompare compare,
@@
-538,7
+538,7
@@
void silc_hash_table_replace_ext(SilcHashTable ht, void *key, void *context,
* specific destructor function.
*
***/
* specific destructor function.
*
***/
-
b
ool silc_hash_table_del_ext(SilcHashTable ht, void *key,
+
SilcB
ool silc_hash_table_del_ext(SilcHashTable ht, void *key,
SilcHashFunction hash,
void *hash_user_context,
SilcHashCompare compare,
SilcHashFunction hash,
void *hash_user_context,
SilcHashCompare compare,
@@
-550,7
+550,7
@@
bool silc_hash_table_del_ext(SilcHashTable ht, void *key,
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- *
b
ool silc_hash_table_del_by_context_ext(SilcHashTable ht, void *key,
+ *
SilcB
ool silc_hash_table_del_by_context_ext(SilcHashTable ht, void *key,
* void *context,
* SilcHashFunction hash,
* void *hash_user_context,
* void *context,
* SilcHashFunction hash,
* void *hash_user_context,
@@
-574,7
+574,7
@@
bool silc_hash_table_del_ext(SilcHashTable ht, void *key,
* specific destructor function.
*
***/
* specific destructor function.
*
***/
-
b
ool silc_hash_table_del_by_context_ext(SilcHashTable ht, void *key,
+
SilcB
ool silc_hash_table_del_by_context_ext(SilcHashTable ht, void *key,
void *context,
SilcHashFunction hash,
void *hash_user_context,
void *context,
SilcHashFunction hash,
void *hash_user_context,
@@
-587,7
+587,7
@@
bool silc_hash_table_del_by_context_ext(SilcHashTable ht, void *key,
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- *
b
ool silc_hash_table_find_ext(SilcHashTable ht, void *key,
+ *
SilcB
ool silc_hash_table_find_ext(SilcHashTable ht, void *key,
* void **ret_key, void **ret_context,
* SilcHashFunction hash,
* void *hash_user_context,
* void **ret_key, void **ret_context,
* SilcHashFunction hash,
* void *hash_user_context,
@@
-608,7
+608,7
@@
bool silc_hash_table_del_by_context_ext(SilcHashTable ht, void *key,
* comparing function. If not provided the hash table's default is used.
*
***/
* comparing function. If not provided the hash table's default is used.
*
***/
-
b
ool silc_hash_table_find_ext(SilcHashTable ht, void *key,
+
SilcB
ool silc_hash_table_find_ext(SilcHashTable ht, void *key,
void **ret_key, void **ret_context,
SilcHashFunction hash,
void *hash_user_context,
void **ret_key, void **ret_context,
SilcHashFunction hash,
void *hash_user_context,
@@
-619,7
+619,7
@@
bool silc_hash_table_find_ext(SilcHashTable ht, void *key,
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- *
b
ool silc_hash_table_find_by_context_ext(SilcHashTable ht, void *key,
+ *
SilcB
ool silc_hash_table_find_by_context_ext(SilcHashTable ht, void *key,
* void *context, void **ret_key,
* SilcHashFunction hash,
* void *hash_user_context,
* void *context, void **ret_key,
* SilcHashFunction hash,
* void *hash_user_context,
@@
-642,7
+642,7
@@
bool silc_hash_table_find_ext(SilcHashTable ht, void *key,
* comparing function. If not provided the hash table's default is used.
*
***/
* comparing function. If not provided the hash table's default is used.
*
***/
-
b
ool silc_hash_table_find_by_context_ext(SilcHashTable ht, void *key,
+
SilcB
ool silc_hash_table_find_by_context_ext(SilcHashTable ht, void *key,
void *context, void **ret_key,
SilcHashFunction hash,
void *hash_user_context,
void *context, void **ret_key,
SilcHashFunction hash,
void *hash_user_context,