Mercurial > cgi-bin > hgwebdir.cgi > VMS > C_Libraries > Hash_impl
comparison PrivateHash.c @ 24:b032601956bb
Works -- with send-receive plus normal dependencies
| author | Sean Halle <seanhalle@yahoo.com> |
|---|---|
| date | Thu, 14 Jun 2012 18:44:46 -0700 |
| parents | ac99f4a8ce22 |
| children | f0f5da84c4c4 18ec64d06e35 |
comparison
equal
deleted
inserted
replaced
| 13:c1e688d57e4d | 14:8b7b11b6a1c8 |
|---|---|
| 458 if( entry == NULL ) return NULL; | 458 if( entry == NULL ) return NULL; |
| 459 | 459 |
| 460 return entry->content; | 460 return entry->content; |
| 461 } | 461 } |
| 462 | 462 |
| 463 /*Returns NULL if failed to insert, else returns ptr to hash entry */ | 463 /*Returns NULL if failed to insert, else returns ptr to hash entry |
| 464 * NOTE: does a copy of the key, so key can be alloc'd on stack */ | |
| 464 HashEntry * | 465 HashEntry * |
| 465 addValueIntoTable32( uint32* key, void *content, HashTable *table ) | 466 addValueIntoTable32( uint32* key, void *content, HashTable *table ) |
| 466 { unsigned int hashIdx; | 467 { unsigned int hashIdx; |
| 467 HashEntry* hashEntry; | 468 HashEntry* hashEntry; |
| 468 | 469 |
