comparison mcabber/libjabber/genhash.c @ 414:ec86d759ed54

Trailing whitespace cleanup No real change.
author Mikael Berthe <mikael@lilotux.net>
date Tue, 30 Aug 2005 22:26:19 +0200
parents bf3d6e241714
children c3ae9251c197
comparison
equal deleted inserted replaced
413:f7e4b0424081 414:ec86d759ed54
343 343
344 int ghash_remove(HASHTABLE tbl, const void *key) 344 int ghash_remove(HASHTABLE tbl, const void *key)
345 /* 345 /*
346 Description: 346 Description:
347 Removes an entry from a hash table, given its key. 347 Removes an entry from a hash table, given its key.
348 348
349 Input: 349 Input:
350 Parameters: 350 Parameters:
351 tbl - Hash table to remove from. 351 tbl - Hash table to remove from.
352 key - Key of value to remove. 352 key - Key of value to remove.
353 353
457 /* 457 /*
458 Description: 458 Description:
459 Generates a hash code for a string. This function uses the ELF hashing 459 Generates a hash code for a string. This function uses the ELF hashing
460 algorithm as reprinted in Andrew Binstock, "Hashing Rehashed," _Dr. 460 algorithm as reprinted in Andrew Binstock, "Hashing Rehashed," _Dr.
461 Dobb's Journal_, April 1996. 461 Dobb's Journal_, April 1996.
462 462
463 Input: 463 Input:
464 Parameters: 464 Parameters:
465 s - The string to be hashed. 465 s - The string to be hashed.
466 466
467 Output: 467 Output:
468 Returns: 468 Returns:
469 A hash code for the string. 469 A hash code for the string.
470 */ 470 */
471 { 471 {