Hash Table for C Structures
http://uthash.sourceforge.net/
Any C structure can be stored in a hash table using uthash. Just add a
UT_hash_handle to the structure and choose one or more fields in your structure
to act as the key. Then use these macros to store, retrieve or delete items
from the hash table.
- Sources inherited from project openSUSE:Leap:15.2
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.2:Update/uthash && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
libut-shared.patch | 0000002570 2.51 KB | |
uthash-2.0.1.tar.gz | 0000189051 185 KB | |
uthash-optflags.patch | 0000000369 369 Bytes | |
uthash-proceed_with_tests_without_prompt.patch | 0000000354 354 Bytes | |
uthash.changes | 0000002174 2.12 KB | |
uthash.spec | 0000002829 2.76 KB |
Revision 1 (latest revision is 9)
Yuchen Lin (maxlin_factory)
accepted
request 552574
from
Markus Reckwerth (marec2000)
(revision 1)
- Rename soname to sover to reflect use of the variable - Update description to point out the implementation (and therefore, restrictions). Update RPM group. - update version 2.0.1 * add libut library * fix build for GCC 6 - upstream fixed boo#985142 - add patch libut-shared.patch * build shared version of libut - split new subpackage -devel and libut2 - test suite is defective, at least with gcc 6 on x86. skip for now. - Update source url - Update to 1.9.9 * made HASH_ADD_STR compatible with char* or char[] * fixed header inclusion of sys/types.h for ssize_t * added LL_COUNT/DL_COUNT/CDL_COUNT * added LRU cache example in tests/lru_cache * fix LL_DELETE2 for VS2008 * fix missing argument in HASH_REPLACE_STR * bump version number in source files to match docs * add HASH_OVERHEAD macro to get overhead size for hash table - Changes for 1.9.8 * HASH_REPLACE now in uthash * fixed clang warnings * fixed utarray_insert when inserting past array end * you can now find uthash on GitHub * there’s a uthash Google Group * uthash has been downloaded 29,000+ times since 2006 on SourceForge - Changes for 1.9.7 * utstring now supports substring search using utstring_find * utlist now supports element prepend and replace * utlist element prev/next fields can now have any names * uthash cast quiets a clang warning * uthash userguide example shows how to check key uniqueness * uthash HASH_MUR compiles under MSVC++ 10 in C mode * utstring_printf now supports format checking - initial version (1.9.5)
Comments 0