A hash table library that can store binary data. It is thread safe and you can use as many hash tables in your program as you wish because each has its own context. You can drop items from the hash table and can expire items that have become too old. String keys are default, but with your own comparison routine you can use binary or specialty keys. If you have special needs you can substitute your on hash calculation function for the built in one. There is also a library call that allows you to judge the efficiency of your hash function. The library has complete HTML documentation. And several tests of the library can be run with "make check".

Features

  • Thread safe but can also be used in single threaded programs.
  • Can use multiple hash tables at once.
  • Can substitued your own comparison function for lookups.
  • Can substitue your own free() routine for freeing your data.
  • Can substitue your own hash calculation to replace the internal one
  • Can cause a check of how well your hash is performing.
  • Can delete items from a hash table by key or keys.
  • Can expire items from a hash table based on age.
  • Has full HTML documentation.

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Creative Commons Attribution License

Follow libhash

libhash Web Site

Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial Icon
Paessler: Easy to Use With Enterprise Power. Free Trial

A low-code dashboard makes monitoring intuitive for any admin, while scripting and custom sensors give experts full control.

You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Get Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of libhash!

Additional Project Details

Operating Systems

Cygwin, FreeBSD, Linux, Mac, OpenBSD, Solaris

Intended Audience

Information Technology

Programming Language

C

Related Categories

C Libraries

Registered

2013-12-03