dep-curl/src
Anton Karpov 05ddf5511a
headers: name the arguments the way the definitions name them
Eleven arguments are named one way in the header and another in the
definition. the compiler only checks types so nothing is broken, but the
header is what people read first, and then the name changes under them
in the source:

```
curl_dbg_malloc          size     ->  wantedsize
curl_dbg_calloc          n, size  ->  wanted_elements, wanted_size
curl_dbg_realloc         size     ->  wantedsize
curl_dbg_strdup          src      ->  source
r_freeaddrinfo           res      ->  cahead
my_get_line              fp, db   ->  input, buf
curl_slist_append_ccsid  l        ->  list
curl_version_info_ccsid  cid      ->  ccsid
curl_easy_setopt_ccsid   curl     ->  easy
```

Follow-up to df6014894b #20794

Closes #22550
2026-08-18 00:11:02 +02:00
..
toolx lib: use lib source directory as base include path 2026-02-23 16:00:42 +01:00
.checksrc checksrc: disallow atoi and atol globally 2025-11-13 14:28:25 +01:00
.gitignore rtmp: remove no longer used proto member 2025-05-08 10:24:19 +02:00
CMakeLists.txt cmake: drop support for CMake 3.17 and older 2026-03-21 13:24:47 +01:00
config2setopts.c tool: remove duplicate setopts 2026-07-29 23:48:54 +02:00
config2setopts.h curl: remove the global argument from many functions 2025-07-10 23:28:31 +02:00
curl.rc build: merge TrackMemory (CURLDEBUG) into debug-enabled option 2026-01-19 18:43:17 +01:00
curlinfo.c tidy-up: C and CI 2026-08-12 15:42:54 +02:00
Makefile.am Makefile.am: replace stray := with = [ci skip] 2026-04-06 02:52:08 +02:00
Makefile.inc tidy-up: prefer spelling 'flavor', where missing 2026-06-15 03:28:42 +02:00
mk-file-embed.pl src: simplify declaring curl_ca_embed 2026-02-15 12:48:46 +01:00
mkhelp.pl tidy-up: fix Perl syntax and formatting nits 2026-07-23 12:56:18 +02:00
slist_wc.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
slist_wc.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
terminal.c terminal: Enhance terminal size detection for multiple outputs 2026-07-24 11:46:54 -04:00
terminal.h curl: make warnings and other messages aware of terminal width 2024-05-28 23:12:32 +02:00
tool_cb_dbg.c tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_cb_dbg.h tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_cb_hdr.c tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_cb_hdr.h tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_cb_prg.c tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_cb_prg.h tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_cb_rea.c tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_cb_rea.h tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_cb_see.c tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_cb_see.h tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_cb_soc.c tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_cb_soc.h tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_cb_wrt.c tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_cb_wrt.h tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_cfgable.c src: safely clear certain buffers 2026-07-29 14:38:48 +02:00
tool_cfgable.h httpsig: add RFC 9421 HTTP Message Signatures support 2026-07-25 16:25:37 +02:00
tool_dirhie.c tool_dirhie: fix to create drive-relative directory 2026-04-27 12:09:09 +02:00
tool_dirhie.h tool_dirhie: fix to create drive-relative directory 2026-04-27 12:09:09 +02:00
tool_doswin.c build: replace assert() with DEBUGASSERT(), where missing 2026-08-10 08:55:08 +02:00
tool_doswin.h tool: improve error/warning messages when output filename sanitization fails 2026-01-10 13:21:27 +01:00
tool_easysrc.c tidy-up: use more static, sizeof(), char[], double-const 2026-07-28 13:53:11 +02:00
tool_easysrc.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
tool_filetime.c clang-tidy: drop redundant casts 2026-02-19 15:27:17 +01:00
tool_filetime.h tool_filetime: sync dummy macro signature with function prototype 2026-01-12 16:29:32 +01:00
tool_findfile.c tidy-up: miscellaneous 2026-04-14 01:08:32 +02:00
tool_findfile.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
tool_formparse.c tidy-up: use more static, sizeof(), char[], double-const 2026-07-28 13:53:11 +02:00
tool_formparse.h tool_formparse: polish error message + make two functions static 2026-05-06 09:15:03 +02:00
tool_getparam.c tidy-up: use more static, sizeof(), char[], double-const 2026-07-28 13:53:11 +02:00
tool_getparam.h httpsig: add RFC 9421 HTTP Message Signatures support 2026-07-25 16:25:37 +02:00
tool_getpass.c tidy-up: miscellaneous 2026-05-27 16:53:57 +02:00
tool_getpass.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
tool_help.c curl: help category cleanups 2026-07-30 16:17:55 +02:00
tool_help.h curl: help category cleanups 2026-07-30 16:17:55 +02:00
tool_helpers.c tidy-up: use more static, sizeof(), char[], double-const 2026-07-28 13:53:11 +02:00
tool_helpers.h build: use more const 2026-02-02 12:32:49 +01:00
tool_hugehelp.h build: drop tool_hugehelp.c.cvs, tidy up macros, drop buildconf.bat 2025-01-26 14:22:49 +01:00
tool_ipfs.c tidy-up: rename Curl_safefree()/tool_safefree() to curlx_safefree() 2026-04-01 19:53:53 +02:00
tool_ipfs.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
tool_libinfo.c tidy-up: use more static, sizeof(), char[], double-const 2026-07-28 13:53:11 +02:00
tool_libinfo.h httpsig: add RFC 9421 HTTP Message Signatures support 2026-07-25 16:25:37 +02:00
tool_listhelp.c curl: help category cleanups 2026-07-30 16:17:55 +02:00
tool_main.c tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_main.h src: fix formatting nits 2025-12-03 20:50:18 +01:00
tool_msgs.c tool_msgs: avoid null pointer deref for early errors 2026-03-18 10:40:19 +01:00
tool_msgs.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
tool_operate.c tool_operate: refactor schannel checks and move win32 cert checks to function 2026-08-13 16:13:55 +02:00
tool_operate.h Revert "tool: add a retry delay for transfers to same origin on 429" 2026-06-01 09:28:31 +02:00
tool_operhlp.c tool_operhlp: avoid NULL to %s 2026-06-02 08:48:19 +02:00
tool_operhlp.h tool: improve error/warning messages when output filename sanitization fails 2026-01-10 13:21:27 +01:00
tool_paramhlp.c tidy-up: use more static, sizeof(), char[], double-const 2026-07-28 13:53:11 +02:00
tool_paramhlp.h clang-tidy: sync argument names in prototype and definition 2026-02-19 12:44:37 +01:00
tool_parsecfg.c tidy-up: miscellaneous 2026-06-05 16:57:38 +02:00
tool_parsecfg.h headers: name the arguments the way the definitions name them 2026-08-18 00:11:02 +02:00
tool_progress.c tidy-up: use more static, sizeof(), char[], double-const 2026-07-28 13:53:11 +02:00
tool_progress.h lib: move all UNITTEST prototypes to C files 2026-03-20 07:47:57 +01:00
tool_sdecls.h badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
tool_setopt.c config2setopt.c: refactor config2setopts 2026-06-29 22:24:57 +02:00
tool_setopt.h config2setopt.c: refactor config2setopts 2026-06-29 22:24:57 +02:00
tool_setup.h AmigaOS: fix build fallouts, re-add to CI 2026-06-12 20:27:44 +02:00
tool_ssls.c tidy-up: syntax and code nits 2026-06-26 15:45:24 +02:00
tool_ssls.h src: drop unused includes 2025-12-25 18:42:54 +01:00
tool_stderr.c badwords: rework exceptions, fix many of them 2026-03-12 01:01:16 +01:00
tool_stderr.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
tool_urlglob.c tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_urlglob.h curl: named globs in output file name for upload glob references 2026-05-13 10:07:50 +02:00
tool_util.c tidy-up: miscellaneous 2026-04-14 01:08:32 +02:00
tool_util.h build: drop Windows CE / CeGCC support 2025-11-15 15:35:23 +01:00
tool_version.h src: fix formatting nits 2025-12-03 20:50:18 +01:00
tool_vms.c tidy-up: drop stray comparisons with literal zero 2026-06-10 15:15:54 +02:00
tool_vms.h clang-tidy: check bugprone-macro-parentheses, fix fallouts 2026-02-22 00:58:04 +01:00
tool_writeout.c tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_writeout.h progress: count amount of data "delivered" to application 2026-03-21 23:21:55 +01:00
tool_writeout_json.c tidy-up: fix comment indentation 2026-07-23 12:01:40 +02:00
tool_writeout_json.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
tool_xattr.c tool_xattr: add support for Windows alternate data stream 2026-07-22 12:27:39 +02:00
tool_xattr.h tidy-up: drop redundant includes 2026-07-25 11:37:12 +02:00
var.c tidy-up: use more static, sizeof(), char[], double-const 2026-07-28 13:53:11 +02:00
var.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00