Commit graph

18 commits

Author SHA1 Message Date
3c8d89a52e Update copyright year 2022-12-26 15:52:52 +00:00
efbbf42a6e Fix memory and connection closing errors. 2022-11-08 01:05:28 +00:00
ead65e7334 Fixed some misc bugs I found while debugging a memory error. 2022-10-31 11:07:32 -04:00
8cb86e8f67 Use new Memory API for all memory allocations. 2022-10-13 12:18:42 -04:00
945acd1adf Format source code 2022-10-13 09:09:26 -04:00
414b8d47be Add HashMapFunctionSet() to allow custom hash functions. 2022-10-11 09:27:34 -04:00
2324d9982f Format code. 2022-08-09 21:05:10 -04:00
d9e355edb9 Relocate free() in HashMap to a sensible location. 2022-08-09 21:02:57 -04:00
560624ba98 Fix memory leak in HashMap 2022-08-09 20:23:25 -04:00
1087069416 Fix some invalid structures. 2022-07-29 12:32:46 -04:00
b3e71c32fd Update license text. 2022-07-28 12:00:52 -04:00
c991d93444 Add license headers to all source files. 2022-07-28 11:15:04 -04:00
bc849819d9 Make HashMap and Json conform to C89.
Clang on OpenBSD didn't catch this, but GCC on Linux did.
2022-07-27 09:47:22 -04:00
90c4709823 Fix HashMapIterate not resetting the iterator at the right place. 2022-07-25 22:55:22 -04:00
ace2682dec Rework HashMapIterate to be more flexible.
We now get the keys, and we don't have to operate within the confines
of a callback function.
2022-07-25 21:31:09 -04:00
580b036d26 Add key to bucket, make iteratorFunc in HashMapIterate take it. 2022-07-25 16:26:30 -04:00
aabb2a0203 Run indent(1) on all C source files. 2022-07-25 15:18:35 -04:00
d102ba8676 Initial revision 2022-07-22 20:19:12 -04:00