]> git.ipfire.org Git - thirdparty/curl.git/commit
hash: provide asserts to verify API use
authorDaniel Stenberg <daniel@haxx.se>
Mon, 12 Aug 2024 12:06:12 +0000 (14:06 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 15 Aug 2024 06:54:19 +0000 (08:54 +0200)
commitc0233a35da819d5f4f7dc4b7f0ee040472f17127
treeef8a9b5917e6d0bd1a8d3c0c711d0a9464dd71cb
parent41a01033b3d0b7a5c82b3cfd60ef05113a9dac92
hash: provide asserts to verify API use

- converted the Curl_hash_count() macro to a function

- Discourage accessing struct fields directly

- Document the internal API in HASH.md

Closes #14503
docs/HASH.md [new file with mode: 0644]
docs/Makefile.am
lib/conncache.c
lib/hash.c
lib/hash.h
lib/hostip.c
lib/multi.c
lib/share.c
tests/unit/unit1609.c