]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: drop, or replace `sendf.h` with `curl_trc.h` where possible
authorViktor Szakats <commit@vsz.me>
Sun, 21 Dec 2025 01:40:10 +0000 (02:40 +0100)
committerViktor Szakats <commit@vsz.me>
Sun, 21 Dec 2025 11:39:25 +0000 (12:39 +0100)
commite8415a8296f76c0f030b09f79eb75ebf8d71b8b8
tree8bb12df80f41a4630812b69c3ee9c555b87a5872
parent4df7269ba892c51c5907aed63fd9699c94821cc7
lib: drop, or replace `sendf.h` with `curl_trc.h` where possible

- replace `sendf.h` with `curl_trc.h` where it was included just for it.
- drop unused `curl_trc.h` includes.
- easy: delete obsolete comment about `send.h` include reason.

Also:
- move out `curl_trc.h` include from `sendf.h` and include it directly
  in users, where not done already. To flatten the include tree and
  to less rely on indirect includes.
- stop including `sendf.h` from other headers, replace it with forward
  declaration of `Curl_easy`, as done already elsewhere.

Verified with an all non-unity CI run.

Closes #20061
87 files changed:
lib/altsvc.c
lib/asyn-ares.c
lib/asyn-base.c
lib/asyn-thrdd.c
lib/cf-socket.c
lib/cfilters.c
lib/conncache.c
lib/connect.c
lib/content_encoding.c
lib/cookie.c
lib/cshutdn.c
lib/curl_gssapi.c
lib/curl_sasl.c
lib/cw-out.c
lib/cw-out.h
lib/cw-pause.c
lib/cw-pause.h
lib/dict.c
lib/doh.c
lib/easy.c
lib/file.c
lib/formdata.c
lib/ftp.c
lib/gopher.c
lib/headers.c
lib/hostip.c
lib/hostip4.c
lib/hostip6.c
lib/hsts.c
lib/http.c
lib/http2.c
lib/http_aws_sigv4.c
lib/http_negotiate.c
lib/http_ntlm.c
lib/http_proxy.c
lib/httpsrr.c
lib/idn.c
lib/imap.c
lib/ldap.c
lib/mime.c
lib/mqtt.c
lib/multi.c
lib/openldap.c
lib/pingpong.c
lib/pop3.c
lib/progress.c
lib/rand.c
lib/request.c
lib/rtsp.c
lib/sendf.c
lib/sendf.h
lib/setopt.c
lib/smb.c
lib/smtp.c
lib/socks.c
lib/socks_gssapi.c
lib/socks_sspi.c
lib/telnet.c
lib/tftp.c
lib/transfer.c
lib/url.c
lib/vauth/cleartext.c
lib/vauth/digest_sspi.c
lib/vauth/gsasl.c
lib/vauth/krb5_gssapi.c
lib/vauth/krb5_sspi.c
lib/vauth/ntlm.c
lib/vauth/ntlm_sspi.c
lib/vauth/spnego_gssapi.c
lib/vauth/spnego_sspi.c
lib/vquic/curl_ngtcp2.c
lib/vquic/curl_osslq.c
lib/vquic/curl_quiche.c
lib/vquic/vquic-tls.c
lib/vssh/libssh.c
lib/vssh/libssh2.c
lib/vtls/gtls.c
lib/vtls/mbedtls.c
lib/vtls/openssl.c
lib/vtls/rustls.c
lib/vtls/schannel.c
lib/vtls/schannel_verify.c
lib/vtls/vtls.c
lib/vtls/wolfssl.c
lib/vtls/x509asn1.c
lib/ws.c
tests/unit/unit1652.c