diff options
Diffstat (limited to 'test/ccured_olden/mst/hash.h')
-rw-r--r-- | test/ccured_olden/mst/hash.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/test/ccured_olden/mst/hash.h b/test/ccured_olden/mst/hash.h deleted file mode 100644 index 99475263..00000000 --- a/test/ccured_olden/mst/hash.h +++ /dev/null @@ -1,23 +0,0 @@ -/* For copyright information, see olden_v1.0/COPYRIGHT */ - -#include "stdio.h" - -typedef struct hash_entry { - unsigned int key; - void *entry; - struct hash_entry *next; - unsigned int padding; -} *HashEntry; - -typedef struct hash { - HashEntry *array; - int (*mapfunc)(unsigned int); - int size; - unsigned int padding; -} *Hash; - -Hash MakeHash(int size, int map(unsigned int)); -void *HashLookup(unsigned int key, Hash hash); -void HashInsert(void *entry,unsigned int key, Hash hash); -void HashDelete(unsigned int key, Hash hash); - |