projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Integer type name change.
[silc.git]
/
lib
/
silcutil
/
silchashtable.h
diff --git
a/lib/silcutil/silchashtable.h
b/lib/silcutil/silchashtable.h
index c7eeed3ec9c2aec76727ba81c9fb64c9fade2175..2b186c957301757bb095b634dfc95d7aa0b58c1d 100644
(file)
--- a/
lib/silcutil/silchashtable.h
+++ b/
lib/silcutil/silchashtable.h
@@
-89,7
+89,7
@@
typedef struct SilcHashTableListStruct SilcHashTableList;
struct SilcHashTableListStruct {
SilcHashTable ht;
void *entry;
struct SilcHashTableListStruct {
SilcHashTable ht;
void *entry;
-
ui
nt32 index;
+
SilcUI
nt32 index;
bool auto_rehash;
};
/***/
bool auto_rehash;
};
/***/
@@
-98,7
+98,7
@@
struct SilcHashTableListStruct {
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- * typedef
ui
nt32 (*SilcHashFunction)(void *key, void *user_context);
+ * typedef
SilcUI
nt32 (*SilcHashFunction)(void *key, void *user_context);
*
* DESCRIPTION
*
*
* DESCRIPTION
*
@@
-108,7
+108,7
@@
struct SilcHashTableListStruct {
* to the callback.
*
***/
* to the callback.
*
***/
-typedef
ui
nt32 (*SilcHashFunction)(void *key, void *user_context);
+typedef
SilcUI
nt32 (*SilcHashFunction)(void *key, void *user_context);
/****f* silcutil/SilcHashTableAPI/SilcHashCompare
*
/****f* silcutil/SilcHashTableAPI/SilcHashCompare
*
@@
-168,7
+168,7
@@
typedef void (*SilcHashForeach)(void *key, void *context, void *user_context);
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- * SilcHashTable silc_hash_table_alloc(
ui
nt32 table_size,
+ * SilcHashTable silc_hash_table_alloc(
SilcUI
nt32 table_size,
* SilcHashFunction hash,
* void *hash_user_context,
* SilcHashCompare compare,
* SilcHashFunction hash,
* void *hash_user_context,
* SilcHashCompare compare,
@@
-188,7
+188,7
@@
typedef void (*SilcHashForeach)(void *key, void *context, void *user_context);
* are optional.
*
***/
* are optional.
*
***/
-SilcHashTable silc_hash_table_alloc(
ui
nt32 table_size,
+SilcHashTable silc_hash_table_alloc(
SilcUI
nt32 table_size,
SilcHashFunction hash,
void *hash_user_context,
SilcHashCompare compare,
SilcHashFunction hash,
void *hash_user_context,
SilcHashCompare compare,
@@
-215,7
+215,7
@@
void silc_hash_table_free(SilcHashTable ht);
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- *
ui
nt32 silc_hash_table_size(SilcHashTable ht);
+ *
SilcUI
nt32 silc_hash_table_size(SilcHashTable ht);
*
* DESCRIPTION
*
*
* DESCRIPTION
*
@@
-223,13
+223,13
@@
void silc_hash_table_free(SilcHashTable ht);
* hash table.
*
***/
* hash table.
*
***/
-
ui
nt32 silc_hash_table_size(SilcHashTable ht);
+
SilcUI
nt32 silc_hash_table_size(SilcHashTable ht);
/****f* silcutil/SilcHashTableAPI/silc_hash_table_count
*
* SYNOPSIS
*
/****f* silcutil/SilcHashTableAPI/silc_hash_table_count
*
* SYNOPSIS
*
- *
ui
nt32 silc_hash_table_count(SilcHashTable ht);
+ *
SilcUI
nt32 silc_hash_table_count(SilcHashTable ht);
*
* DESCRIPTION
*
*
* DESCRIPTION
*
@@
-238,7
+238,7
@@
uint32 silc_hash_table_size(SilcHashTable ht);
* silc_hash_table_rehash is recommended.
*
***/
* silc_hash_table_rehash is recommended.
*
***/
-
ui
nt32 silc_hash_table_count(SilcHashTable ht);
+
SilcUI
nt32 silc_hash_table_count(SilcHashTable ht);
/****f* silcutil/SilcHashTableAPI/silc_hash_table_add
*
/****f* silcutil/SilcHashTableAPI/silc_hash_table_add
*
@@
-341,7
+341,7
@@
bool silc_hash_table_find(SilcHashTable ht, void *key,
*
* NOTES
*
*
* NOTES
*
- * The hash table will not be rehashed during the traversing of the
list
,
+ * The hash table will not be rehashed during the traversing of the
table
,
* even if the table was marked as auto rehashable. The caller also must
* not call silc_hash_table_rehash while traversing the table.
*
* even if the table was marked as auto rehashable. The caller also must
* not call silc_hash_table_rehash while traversing the table.
*
@@
-363,7
+363,7
@@
void silc_hash_table_find_foreach(SilcHashTable ht, void *key,
*
* NOTES
*
*
* NOTES
*
- * The hash table will not be rehashed during the traversing of the
list
,
+ * The hash table will not be rehashed during the traversing of the
table
,
* even if the table was marked as auto rehashable. The caller also must
* not call silc_hash_table_rehash while traversing the table.
*
* even if the table was marked as auto rehashable. The caller also must
* not call silc_hash_table_rehash while traversing the table.
*
@@
-375,7
+375,7
@@
void silc_hash_table_foreach(SilcHashTable ht, SilcHashForeach foreach,
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- * void silc_hash_table_rehash(SilcHashTable ht,
ui
nt32 new_size);
+ * void silc_hash_table_rehash(SilcHashTable ht,
SilcUI
nt32 new_size);
*
* DESCRIPTION
*
*
* DESCRIPTION
*
@@
-385,7
+385,7
@@
void silc_hash_table_foreach(SilcHashTable ht, SilcHashForeach foreach,
* very slow.
*
***/
* very slow.
*
***/
-void silc_hash_table_rehash(SilcHashTable ht,
ui
nt32 new_size);
+void silc_hash_table_rehash(SilcHashTable ht,
SilcUI
nt32 new_size);
/****f* silcutil/SilcHashTableAPI/silc_hash_table_list
*
/****f* silcutil/SilcHashTableAPI/silc_hash_table_list
*
@@
-618,7
+618,7
@@
bool silc_hash_table_find_ext(SilcHashTable ht, void *key,
*
* NOTES
*
*
* NOTES
*
- * The hash table will not be rehashed during the traversing of the
list
,
+ * The hash table will not be rehashed during the traversing of the
table
,
* even if the table was marked as auto rehashable. The caller also must
* not call silc_hash_table_rehash while traversing the table.
*
* even if the table was marked as auto rehashable. The caller also must
* not call silc_hash_table_rehash while traversing the table.
*
@@
-635,7
+635,7
@@
void silc_hash_table_find_foreach_ext(SilcHashTable ht, void *key,
*
* SYNOPSIS
*
*
* SYNOPSIS
*
- * void silc_hash_table_rehash_ext(SilcHashTable ht,
ui
nt32 new_size,
+ * void silc_hash_table_rehash_ext(SilcHashTable ht,
SilcUI
nt32 new_size,
* SilcHashFunction hash,
* void *hash_user_context);
*
* SilcHashFunction hash,
* void *hash_user_context);
*
@@
-650,7
+650,7
@@
void silc_hash_table_find_foreach_ext(SilcHashTable ht, void *key,
* function. If not provided the hash table's default is used.
*
***/
* function. If not provided the hash table's default is used.
*
***/
-void silc_hash_table_rehash_ext(SilcHashTable ht,
ui
nt32 new_size,
+void silc_hash_table_rehash_ext(SilcHashTable ht,
SilcUI
nt32 new_size,
SilcHashFunction hash,
void *hash_user_context);
SilcHashFunction hash,
void *hash_user_context);