comparison PrivateHash.h @ 32:bd376656f8ab

assuming you were not having fun thinking up silly ways to write 0
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Wed, 24 Apr 2013 16:35:19 +0200
parents ac99f4a8ce22
children
comparison
equal deleted inserted replaced
8:166369394f1a 11:a9c830aaa8b9
78 HashEntry *addValueIntoTable32( uint32 key[], void *value, HashTable *table); 78 HashEntry *addValueIntoTable32( uint32 key[], void *value, HashTable *table);
79 HashEntry *getEntryFromTable32( uint32 key[], HashTable *table ); 79 HashEntry *getEntryFromTable32( uint32 key[], HashTable *table );
80 void *getValueFromTable32( uint32 key[], HashTable *table ); 80 void *getValueFromTable32( uint32 key[], HashTable *table );
81 81
82 bool32 deleteEntryFromTable32( uint32 key[], HashTable *table ); 82 bool32 deleteEntryFromTable32( uint32 key[], HashTable *table );
83 int32 hashThisKey32( uint32 *key, HashTable *hashTable );
83 84
84 //=========================================================================== 85 //===========================================================================
85 // Internal functions 86 // Internal functions
86 void freeHashEntryUsing( HashEntry *entry, HashTable *table ); 87 void freeHashEntryUsing( HashEntry *entry, HashTable *table );
87 unsigned int hashThisKey( char *s, int hashSz ); 88 unsigned int hashThisKey( char *s, int hashSz );