diff options
Diffstat (limited to 'src/pathfinder/npf/queue.h')
-rw-r--r-- | src/pathfinder/npf/queue.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/pathfinder/npf/queue.h b/src/pathfinder/npf/queue.h index 6059c54b1..69c1602df 100644 --- a/src/pathfinder/npf/queue.h +++ b/src/pathfinder/npf/queue.h @@ -86,6 +86,8 @@ struct Hash { * there are any Nodes in the bucket */ bool *buckets_in_use; + void Init(Hash_HashProc *hash, uint num_buckets); + void *Get(uint key1, uint key2) const; void *Set(uint key1, uint key2, void *value); @@ -103,15 +105,4 @@ struct Hash { } }; -/* Call these function to manipulate a hash */ - - -/* Call these function to create/destroy a hash */ - -/** - * Builds a new hash in an existing struct. Make sure that hash() always - * returns a hash less than num_buckets! Call delete_hash after use - */ -void init_Hash(Hash *h, Hash_HashProc *hash, uint num_buckets); - #endif /* QUEUE_H */ |