curl/lib/vtls
Daniel Stenberg 7fd35f4c34
unittests: cleanups
- make sure all UNITTEST prototypes mark in which unit test they are used,
  with "@unittest" markup

- make sure all UNITTEST functions do not use Curl_ prefix, as that is a
  prefix we use for global private functions and these functions are static
  and therefore not global and the prefix is wrong

- drop UNITTEST for functions not used in unit tests

- make the extract-unit-protos script highlight the above issues if found

- extract-unit-protos now also outputs the unit test number for all the
  generated protos in lib/unitprotos.h to aid readers. It also adds the source
  file and line number where the proto originates from.

- extract-unit-protos now exits with a non-zero value if any of the above
  warnings are triggered

- cf-dns: Curl_cf_dns_result => static cf_dns_result
- hostip: Curl_ipv6works => static ipv6works
- url: remove Curl_setup_conn() - not used anymore
- connect: Curl_timeleft_now_ms => UNITTEST timeleft_now_ms

Closes #21330
2026-04-15 23:32:38 +02:00
..
apple.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
apple.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
cipher_suite.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
cipher_suite.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
gtls.c gtls: fail for large files in load_file() 2026-04-07 20:04:44 +02:00
gtls.h clang-tidy: enable more checks, fix fallouts 2026-04-14 02:20:16 +02:00
hostcheck.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
hostcheck.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
keylog.c tidy-up: miscellaneous 2026-04-14 01:08:32 +02:00
keylog.h keylog.h: replace literal number with macro in declaration 2026-03-28 15:51:04 +01:00
mbedtls.c mbedtls: fix ECJPAKE matching 2026-04-08 11:27:31 +02:00
mbedtls.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
openssl.c tidy-up: miscellaneous 2026-04-14 01:08:32 +02:00
openssl.h h3: HTTPS-RR use in HTTP/3 2026-04-09 09:30:52 +02:00
rustls.c rustls: handle EOF during initial handshake 2026-04-10 15:58:31 +02:00
rustls.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
schannel.c tidy-up: miscellaneous 2026-04-14 01:08:32 +02:00
schannel.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
schannel_int.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
schannel_verify.c lib: reserve 'result' for CURLcode, even more 2026-04-07 07:48:58 +02:00
vtls.c tidy-up: miscellaneous 2026-04-14 01:08:32 +02:00
vtls.h urldata: import port types and conn destination format 2026-03-15 12:02:26 +01:00
vtls_int.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
vtls_scache.c vtls_scache: include cert_blob independently of verifypeer 2026-04-08 15:18:45 +02:00
vtls_scache.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
vtls_spack.c lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
vtls_spack.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
wolfssl.c h3: HTTPS-RR use in HTTP/3 2026-04-09 09:30:52 +02:00
wolfssl.h clang-tidy: enable more checks, fix fallouts 2026-04-14 02:20:16 +02:00
x509asn1.c unittests: cleanups 2026-04-15 23:32:38 +02:00
x509asn1.h x509asn1: fixed and adapted for ASN1tostr unit testing 2026-03-20 13:03:40 +01:00