A simple hash table library written in C
Find a file
2023-09-30 22:20:00 +02:00
.clang-format Add hashing function, hashtable struct, and hashtable init function 2023-03-29 15:37:57 +02:00
.gitignore Add hashing function, hashtable struct, and hashtable init function 2023-03-29 15:37:57 +02:00
COPYING Applied GNU GPL License 2023-04-07 01:32:14 +02:00
README.md Update readme 2023-04-07 01:42:32 +02:00
shash.c Implement strndup manually and change types for OS compatibility 2023-09-30 22:20:00 +02:00
shash.h Implement strndup manually and change types for OS compatibility 2023-09-30 22:20:00 +02:00
usage_example.c Changed source layout into a library structure 2023-04-07 01:01:35 +02:00

SHASH

A simple hash table library written in C

This hashtable library stores pointers to any type of data, and can therefore be used on almost anything you would want to store. It is meant to be simple, and therefore does not have fancy functions like resizing of the table (Which would require a whole recomputation of the table in the current implementation).

You can see a example usage for storing strings in the usage_example.c file. You can see all avaible functions in shash.h

Note that this library underlies the GNU General Public License as specifed in COPYING