Subversion Repositories HelenOS-historic

Rev

Rev 792 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 792 Rev 793
Line 64... Line 64...
64
     * @param item Item that was removed from the hash table.
64
     * @param item Item that was removed from the hash table.
65
     */
65
     */
66
    void (*remove_callback)(link_t *item);
66
    void (*remove_callback)(link_t *item);
67
};
67
};
68
 
68
 
69
#define hash_table_get_instance(item,type,member)   list_get_instance((item),(type),(member))
69
#define hash_table_get_instance(item, type, member) list_get_instance((item), type, member)
70
 
70
 
71
extern void hash_table_create(hash_table_t *h, count_t m, count_t max_keys, hash_table_operations_t *op);
71
extern void hash_table_create(hash_table_t *h, count_t m, count_t max_keys, hash_table_operations_t *op);
72
extern void hash_table_insert(hash_table_t *h, __native key[], link_t *item);
72
extern void hash_table_insert(hash_table_t *h, __native key[], link_t *item);
73
extern link_t *hash_table_find(hash_table_t *h, __native key[]);
73
extern link_t *hash_table_find(hash_table_t *h, __native key[]);
74
extern void hash_table_remove(hash_table_t *h, __native key[], count_t keys);
74
extern void hash_table_remove(hash_table_t *h, __native key[], count_t keys);