]> git.ipfire.org Git - thirdparty/curl.git/commit
curl: make global truly global
authorDaniel Stenberg <daniel@haxx.se>
Wed, 6 Aug 2025 21:18:46 +0000 (23:18 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 Aug 2025 08:43:06 +0000 (10:43 +0200)
commit3b40128b0f11a3dee5524e92768ff18046db20f2
tree0919b6154502ebac9b7fe6cdadca23b5cea53e8a
parent2d9f24bf24de65b3da1a653e01cbecdd1e7250d6
curl: make global truly global

The GlobalConfig only exists in a single instance and it has worked like
this since the dawn of time. It is about time we stop passing around
pointers to what was already essentially a global object and instead
just use a... global.

It simplifies things.

Closes #18213
42 files changed:
src/config2setopts.c
src/tool_cb_dbg.c
src/tool_cb_hdr.c
src/tool_cb_rea.c
src/tool_cb_wrt.c
src/tool_cfgable.c
src/tool_cfgable.h
src/tool_dirhie.c
src/tool_dirhie.h
src/tool_doswin.c
src/tool_doswin.h
src/tool_easysrc.c
src/tool_easysrc.h
src/tool_filetime.c
src/tool_filetime.h
src/tool_formparse.c
src/tool_formparse.h
src/tool_getparam.c
src/tool_getparam.h
src/tool_helpers.c
src/tool_helpers.h
src/tool_main.c
src/tool_msgs.c
src/tool_msgs.h
src/tool_operate.c
src/tool_operate.h
src/tool_operhlp.c
src/tool_operhlp.h
src/tool_paramhlp.c
src/tool_paramhlp.h
src/tool_parsecfg.c
src/tool_parsecfg.h
src/tool_progress.c
src/tool_progress.h
src/tool_setopt.c
src/tool_setopt.h
src/tool_ssls.c
src/tool_stderr.c
src/tool_stderr.h
src/var.c
src/var.h
tests/data/test96