Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/adt/hash_table.h

    r96b02eb9 r98000fb  
    3737
    3838#include <adt/list.h>
    39 #include <typedefs.h>
     39#include <arch/types.h>
    4040
    4141/** Set of operations for hash table. */
     
    4848         * @return Index into hash table.
    4949         */
    50         size_t (* hash)(sysarg_t key[]);
     50        size_t (* hash)(unative_t key[]);
    5151       
    5252        /** Hash table item comparison function.
     
    5757         * @return true if the keys match, false otherwise.
    5858         */
    59         bool (*compare)(sysarg_t key[], size_t keys, link_t *item);
     59        bool (*compare)(unative_t key[], size_t keys, link_t *item);
    6060
    6161        /** Hash table item removal callback.
     
    7979extern void hash_table_create(hash_table_t *h, size_t m, size_t max_keys,
    8080    hash_table_operations_t *op);
    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);
     81extern void hash_table_insert(hash_table_t *h, unative_t key[], link_t *item);
     82extern link_t *hash_table_find(hash_table_t *h, unative_t key[]);
     83extern void hash_table_remove(hash_table_t *h, unative_t key[], size_t keys);
    8484
    8585#endif
Note: See TracChangeset for help on using the changeset viewer.