Changeset 87b4baa in mainline for kernel/generic/include/adt/hash_table.h
- Timestamp:
- 2010-12-17T20:16:46Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 424558a
- Parents:
- 463e734 (diff), bbc74af7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/adt/hash_table.h
r463e734 r87b4baa 48 48 * @return Index into hash table. 49 49 */ 50 size_t (* hash)( unative_t key[]);50 size_t (* hash)(sysarg_t key[]); 51 51 52 52 /** Hash table item comparison function. … … 57 57 * @return true if the keys match, false otherwise. 58 58 */ 59 bool (*compare)( unative_t key[], size_t keys, link_t *item);59 bool (*compare)(sysarg_t key[], size_t keys, link_t *item); 60 60 61 61 /** Hash table item removal callback. … … 79 79 extern void hash_table_create(hash_table_t *h, size_t m, size_t max_keys, 80 80 hash_table_operations_t *op); 81 extern void hash_table_insert(hash_table_t *h, unative_t key[], link_t *item);82 extern link_t *hash_table_find(hash_table_t *h, unative_t key[]);83 extern void hash_table_remove(hash_table_t *h, unative_t key[], size_t keys);81 extern void hash_table_insert(hash_table_t *h, sysarg_t key[], link_t *item); 82 extern link_t *hash_table_find(hash_table_t *h, sysarg_t key[]); 83 extern void hash_table_remove(hash_table_t *h, sysarg_t key[], size_t keys); 84 84 85 85 #endif
Note:
See TracChangeset
for help on using the changeset viewer.