Changeset 4f34b6a in mainline for libadt/include/hash_table.h
- Timestamp:
- 2006-03-14T22:55:01Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 936351c1
- Parents:
- ee7736e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libadt/include/hash_table.h
ree7736e r4f34b6a 54 54 * @return Index into hash table. 55 55 */ 56 hash_index_t (* hash)( intkey[]);56 hash_index_t (* hash)(unsigned long key[]); 57 57 58 58 /** Hash table item comparison function. … … 62 62 * @return true if the keys match, false otherwise. 63 63 */ 64 int (*compare)( intkey[], hash_count_t keys, link_t *item);64 int (*compare)(unsigned long key[], hash_count_t keys, link_t *item); 65 65 66 66 /** Hash table item removal callback. … … 73 73 #define hash_table_get_instance(item, type, member) list_get_instance((item), type, member) 74 74 75 extern voidhash_table_create(hash_table_t *h, hash_count_t m, hash_count_t max_keys, hash_table_operations_t *op);76 extern void hash_table_insert(hash_table_t *h, intkey[], link_t *item);77 extern link_t *hash_table_find(hash_table_t *h, intkey[]);78 extern void hash_table_remove(hash_table_t *h, intkey[], hash_count_t keys);75 extern int hash_table_create(hash_table_t *h, hash_count_t m, hash_count_t max_keys, hash_table_operations_t *op); 76 extern void hash_table_insert(hash_table_t *h, unsigned long key[], link_t *item); 77 extern link_t *hash_table_find(hash_table_t *h, unsigned long key[]); 78 extern void hash_table_remove(hash_table_t *h, unsigned long key[], hash_count_t keys); 79 79 80 80 #endif
Note:
See TracChangeset
for help on using the changeset viewer.