curl/lib/vtls
Daniel Stenberg 98d8e82c74
lib: move all UNITTEST prototypes to C files
- make extract-unit-protos handle multi-line prototypes - but they need
  to be above the implementation

- Prototypes for static functions we use in unit tests should not be in
  header files. We generate lib/unitprotos.h for this purpose

- Removed some function wrappers written for unit tests and make them
  use UNITTEST function directly.

- Renamed time2str() in the tool to timebuf() since we have the same
  name in lib/ and in unit tests they can both be used non-static in a
  build.

This reverts commit f95fadd116.

Follow-up to #21010

Closes #21014
2026-03-20 07:47:57 +01: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 connection bits: move 'connect_only' here 2026-03-17 15:01:29 +01:00
gtls.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01: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 clang-tidy: enable readability-math-missing-parentheses, adjust code 2026-02-23 18:57:40 +01:00
keylog.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
mbedtls.c badwords: prefer 'null-terminated' 2026-03-18 11:40:13 +01:00
mbedtls.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
openssl.c openssl: fix memory leaks in ECH code (OpenSSL 3) 2026-03-19 12:02:10 +01:00
openssl.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
rustls.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
rustls.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
schannel.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01: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 badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
vtls.c urldata: import port types and conn destination format 2026-03-15 12:02:26 +01: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 docs: avoid starting sentences with However, 2026-03-07 23:49:11 +01: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 connection bits: move 'connect_only' here 2026-03-17 15:01:29 +01:00
wolfssl.h lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
x509asn1.c lib: move all UNITTEST prototypes to C files 2026-03-20 07:47:57 +01:00
x509asn1.h lib: move all UNITTEST prototypes to C files 2026-03-20 07:47:57 +01:00