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
This commit is contained in:
Viktor Szakats 2025-12-21 02:40:10 +01:00
parent 4df7269ba8
commit e8415a8296
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
87 changed files with 82 additions and 60 deletions

View file

@ -56,6 +56,7 @@
#include "curlx/dynbuf.h"
#include "urldata.h"
#include "sendf.h"
#include "curl_trc.h"
#include "hostip.h"
#include "progress.h"
#include "transfer.h"