summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/strhash.c
Commit message (Collapse)AuthorAgeFilesLines
* Don peril sensitive (ie: bikeshed sensitive) sunglasses and quietlypeter2003-10-281-407/+0
| | | | | | | | | | | send strhash(3) off to sleep with the fishes. Nothing in our tree uses it. It has no documentation. It is nonstandard and in spite of the filename strhash.c and strhash.h, it lives in application namespace by providing compulsory global symbols hash_create()/hash_destroy()/hash_search()/ hash_traverse()/hash_purge()/hash_stats() regardless of whether you #include <strhash.h> or not. If it turns out that there is a huge application for this after all, I can repocopy it somewhere safer and we can revive it elsewhere. But please, not in libc!
* Fix the style of the SCM ID's.obrien2002-03-221-5/+2
| | | | I believe have made all of libc .c's as consistent as possible.
* Remove 'register' keyword.obrien2002-03-211-6/+6
|
* Tidy up $Log$ debris.peter1999-09-051-32/+2
|
* $Header$ -> $FreeBSD$peter1999-08-281-1/+5
|
* Return pointer to new hash node when search inserts it (e.g. therejkh1996-01-131-1/+5
| | | | was some datum given).
* Mino cleanup, #includes & unused vars.phk1995-10-221-1/+5
|
* Remove trailing whitespace.rgrimes1995-05-301-48/+55
|
* Fix a missing _hash() to prevent namespace pollution with the db/hash routines.jkh1995-03-281-5/+7
| | | | | | | Grrr. If the dbhash routines weren't grossly overengineered I wouldn't even need to do this! :-( Also now export the hash_stats routine. Manpage coming RSN - I promise.
* Hash 8bit chars without sign extensionache1995-03-261-3/+8
|
* Add the strhash family of routines. They provide a number of featuresjkh1995-03-261-0/+414
that the db/hash functions don't, and they're much simpler to use for low-overhead string hashing.
OpenPOWER on IntegriCloud