curl/tests/libtest
Viktor Szakats de0693f249
addrinfo: add curl macro to avoid redefining foreign symbols
Before this patch curl code was redefining `getaddrinfo` and
`freeaddrinfo` system symbols to plug in its debug wrappers. This was
causing pains to avoid applying the redefinitions to system headers
defining these functions, and to the local debug wrappers. Especially
in unity builds. It also required workarounds for systems where these
symbols are already macros.

Introduce curl-namespaced macros for these functions and use them.
This allows to drop all workarounds and makes it work in all envs,
local targets and unity/bundle combinations.

Also drop GHA/windows workaround and use the same unity batch across
all jobs. Follow-up to 29e4eda631 #16272

Ref: #16272
Ref: 71cf0d1fca #14772
Ref: 3efba94f77 #14765
Ref: f7d5f47059 #14399

Closes #16274
2025-02-13 12:46:39 +01:00
..
.checksrc checksrc: introduce 'banfunc' to ban specific functions 2024-12-30 08:25:56 +01:00
.gitignore gitignore: restore explicit lists and fix them 2025-01-28 14:44:35 +01:00
CMakeLists.txt addrinfo: add curl macro to avoid redefining foreign symbols 2025-02-13 12:46:39 +01:00
first.c binmode: convert to macro and use it from tests 2024-12-21 13:29:24 +01:00
first.h
lib500.c
lib501.c
lib502.c
lib503.c
lib504.c
lib505.c
lib506.c
lib507.c
lib508.c
lib509.c
lib510.c
lib511.c
lib512.c
lib513.c
lib514.c
lib515.c
lib516.c
lib517.c
lib518.c
lib519.c
lib520.c
lib521.c
lib523.c
lib524.c
lib525.c
lib526.c
lib530.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
lib533.c
lib536.c
lib537.c
lib539.c
lib540.c
lib541.c
lib542.c
lib543.c
lib544.c
lib547.c
lib549.c
lib552.c
lib553.c
lib554.c
lib555.c
lib556.c easy: allow connect-only handle reuse with easy_perform 2025-01-28 03:27:04 -05:00
lib557.c build: fix compiling with GCC 4.x versions 2025-01-22 11:26:15 +01:00
lib558.c
lib559.c
lib560.c
lib562.c
lib564.c
lib566.c
lib567.c
lib568.c
lib569.c
lib570.c
lib571.c
lib572.c
lib573.c
lib574.c
lib575.c
lib576.c
lib578.c
lib579.c
lib582.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
lib583.c
lib586.c
lib589.c
lib590.c getinfo: provide info which auth was used for HTTP and proxy 2024-12-23 23:03:54 +01:00
lib591.c
lib597.c
lib598.c
lib599.c
lib643.c
lib650.c
lib651.c
lib652.c
lib653.c
lib654.c
lib655.c
lib658.c
lib659.c
lib661.c
lib666.c
lib667.c
lib668.c
lib670.c
lib674.c
lib676.c
lib677.c
lib678.c
lib694.c getinfo: provide info which auth was used for HTTP and proxy 2024-12-23 23:03:54 +01:00
lib695.c mime: explicitly rewind subparts at attachment time. 2025-01-06 14:03:42 +01:00
lib1156.c
lib1301.c
lib1485.c
lib1500.c
lib1501.c
lib1502.c
lib1506.c
lib1507.c
lib1508.c
lib1509.c
lib1510.c
lib1511.c
lib1512.c
lib1513.c
lib1514.c
lib1515.c
lib1517.c
lib1518.c
lib1520.c
lib1522.c
lib1523.c
lib1525.c
lib1526.c
lib1527.c
lib1528.c
lib1529.c
lib1530.c
lib1531.c docs: use lowercase curl and libcurl 2025-01-02 17:15:54 +01:00
lib1532.c
lib1533.c
lib1534.c
lib1535.c
lib1536.c
lib1537.c
lib1538.c
lib1540.c
lib1541.c
lib1542.c
lib1545.c
lib1550.c
lib1551.c
lib1552.c
lib1553.c
lib1554.c
lib1555.c
lib1556.c
lib1557.c
lib1558.c
lib1559.c
lib1560.c urlapi: fix redirect to a new fragment or query (only) 2024-12-30 08:23:26 +01:00
lib1564.c
lib1565.c asyn-thread: use c-ares to resolve HTTPS RR 2025-01-25 23:46:14 +01:00
lib1567.c
lib1568.c
lib1569.c
lib1591.c
lib1592.c
lib1593.c
lib1594.c http: ignore invalid Retry-After times 2024-12-31 03:19:22 -05:00
lib1597.c
lib1598.c
lib1662.c
lib1900.c
lib1901.c
lib1903.c
lib1905.c
lib1906.c
lib1907.c
lib1908.c
lib1910.c
lib1911.c
lib1912.c
lib1913.c
lib1915.c
lib1916.c
lib1918.c
lib1919.c
lib1933.c
lib1934.c
lib1935.c
lib1936.c
lib1937.c
lib1938.c
lib1939.c
lib1940.c
lib1945.c wolfssl: silence compiler warning (MSVC 2019), simplify existing 2025-02-07 10:52:55 +01:00
lib1947.c
lib1948.c
lib1955.c
lib1956.c
lib1957.c
lib1958.c
lib1959.c
lib1960.c test1960: don't close the socket too early 2025-01-28 09:43:31 -08:00
lib1964.c
lib1970.c
lib1971.c
lib1972.c
lib1973.c
lib1974.c
lib1975.c
lib1977.c transfer: fix CURLOPT_CURLU override logic 2025-01-14 04:36:13 -05:00
lib2301.c
lib2302.c
lib2304.c
lib2305.c
lib2306.c
lib2308.c
lib2309.c
lib2310.c ws: Reject frames with unknown reserved bits set 2025-01-28 10:19:39 +01:00
lib2402.c
lib2404.c
lib2405.c multi: fix curl_multi_waitfds reporting of fd_count 2024-12-29 01:05:09 -05:00
lib2502.c
lib3010.c
lib3025.c
lib3026.c
lib3027.c
lib3100.c
lib3101.c
lib3102.c
lib3103.c
lib3104.c cookie: fix crash in netscape cookie parsing 2024-12-27 13:16:08 -05:00
lib3105.c test3105: verify multi_remove_handle done twice 2024-12-31 12:03:51 +01:00
lib3207.c
lib3208.c lib3208: add a final easy_perform as well 2025-02-08 14:12:40 +01:00
libauthretry.c
libntlmconnect.c
libprereq.c
Makefile.am addrinfo: add curl macro to avoid redefining foreign symbols 2025-02-13 12:46:39 +01:00
Makefile.inc vtsl: eliminate 'data->state.ssl_scache' 2025-02-08 13:28:27 +01:00
mk-lib1521.pl
stub_gssapi.c checksrc: introduce 'banfunc' to ban specific functions 2024-12-30 08:25:56 +01:00
stub_gssapi.h
test307.pl
test610.pl
test613.pl
test1013.pl
test1022.pl
test.h build: fix compiling with GCC 4.x versions 2025-01-22 11:26:15 +01:00
testtrace.c
testtrace.h
testutil.c
testutil.h