From a7e6b6f35b26209a1ed1194d5b427dbe2a163b83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 10 Nov 2004 01:59:09 +0000 Subject: [PATCH] Added prototype for new hash_remove_first() function. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9894 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/khash.h | 1 + 1 file changed, 1 insertion(+) diff --git a/headers/private/kernel/khash.h b/headers/private/kernel/khash.h index 18249962df..af0debf4e7 100755 --- a/headers/private/kernel/khash.h +++ b/headers/private/kernel/khash.h @@ -23,6 +23,7 @@ struct hash_table *hash_init(uint32 table_size, int next_ptr_offset, int hash_uninit(struct hash_table *table); status_t hash_insert(struct hash_table *table, void *_element); status_t hash_remove(struct hash_table *table, void *_element); +void *hash_remove_first(struct hash_table *table, uint32 *_cookie); void *hash_find(struct hash_table *table, void *e); void *hash_lookup(struct hash_table *table, const void *key); struct hash_iterator *hash_open(struct hash_table *table, struct hash_iterator *i);