Projects / uthash


uthash is a hash for C structures, allowing any C structure having a unique key field to be hashed. Structures can be added, deleted, or removed from the hash in constant time. The key field can have any data type.


Last announcement

uthash moved to GitHub 17 Jan 2013 19:44

Uthash, the hash table for C structures, has moved to GitHub as of January, 2013: If you use uthash, please consider joining the Google Group: I'd greatly appreciate help in answering questions from the uthash community! Please join if you can help. For updates, follow me on Twitter at @troydhanson or get updates on the blog at: Best regards, Troy D. Hanson

Recent releases

  •  09 Oct 2012 07:14

    Release Notes: A number of small enhancements were made to the supplemental utilities included with uthash, including new list operations (prepend, replace, and support for structures that use different naming conventions), new dynamic string features (KMP substring search, format checking), compatibility improvements, and improved documentation.

    •  05 Jun 2011 20:17

      Release Notes: This release includes support for MurmurHash v3, new utlist concatenation macros, utarray binary search, new utstring functionality, new documentation, and bugfixes.

      •  31 Oct 2010 20:17

        Release Notes: This is a minor bugfix release to fix compatibility with Intel compilers and to make the HASH_ITER macro C++ compatible.

        •  04 Oct 2010 07:33

          Release Notes: This minor enhancement release adds a new deletion-safe iteration macro, a port of the hashscan utility to FreeBSD, bug fixes, and documentation improvements.

          •  31 Mar 2010 21:33

            Release Notes: This release supports Visual Studio 2008 and 2010. It includes new "extras": utarray.h for dynamic arrays, utstring.h for dynamic strings, and utlist.h for linked lists.

            Recent comments

            13 Oct 2009 11:22 exn

            Hey ! It's looks like an nice tool.

            Do you have something like this for trees ?


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.