curl/lib/curlx
Viktor Szakats 916f241f2f
lib: make CURLX_SET_BINMODE() and use it
Use it from libtests' `first.c` and thus also from units, and tunits.

Also:
- cmake: drop stray `curltool` lib dependency for units.
- units: stop depending on `src` headers.
- tests/server: drop depending on `src` headers.
  (the remaining one listed in the comments, `tool_xattr.h`, was not
  actually used from servers.)
- tests/server: drop duplicate curlx headers.
  (Except `warnless.h`, which is tricky on Windows.)

Closes #17672
2025-06-19 15:57:37 +02:00
..
base64.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
base64.h mime: reuse the base64 string from the base64 code 2025-05-10 23:01:14 +02:00
binmode.h lib: make CURLX_SET_BINMODE() and use it 2025-06-19 15:57:37 +02:00
curlx.h lib: make CURLX_SET_BINMODE() and use it 2025-06-19 15:57:37 +02:00
dynbuf.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
dynbuf.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
inet_ntop.c lib: make curlx_inet_ntop() 2025-06-09 13:16:01 +02:00
inet_ntop.h build: drop HAVE_SYS_SOCKET_H and HAVE_SYS_TIME_H macros 2025-06-15 18:44:39 +02:00
inet_pton.c curlx: move curlx_inet_pton 2025-05-09 13:45:24 +02:00
inet_pton.h build: drop HAVE_SYS_SOCKET_H and HAVE_SYS_TIME_H macros 2025-06-15 18:44:39 +02:00
multibyte.c lib: move multibyte.[ch] to curlx/ 2025-05-08 10:19:19 +02:00
multibyte.h curlx: simplify the curlx_unicodefree macro 2025-05-08 11:57:58 +02:00
nonblock.c curlx: move nonblock.[ch] into curlx/ 2025-05-08 13:22:02 +02:00
nonblock.h curlx: move nonblock.[ch] into curlx/ 2025-05-08 13:22:02 +02:00
strparse.c tests/server: stop using libcurl string comparisons 2025-05-13 10:28:19 +02:00
strparse.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
timediff.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
timediff.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
timeval.c timeval.c: #include fix 2025-05-11 12:24:10 +02:00
timeval.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
version_win32.c curlx: move version_win32.[ch] to curlx/ 2025-05-08 17:09:32 +02:00
version_win32.h curlx: move version_win32.[ch] to curlx/ 2025-05-08 17:09:32 +02:00
wait.c lib: make curlx_wait_ms() and use it 2025-06-19 15:57:37 +02:00
wait.h lib: make curlx_wait_ms() and use it 2025-06-19 15:57:37 +02:00
warnless.c warnless: replace read()/write() wrapper functions with macros (Windows) 2025-06-15 02:02:28 +02:00
warnless.h warnless: replace read()/write() wrapper functions with macros (Windows) 2025-06-15 02:02:28 +02:00
winapi.c windows: fix to preserve error code in curlx_winapi_strerror() 2025-05-09 15:56:07 +02:00
winapi.h curlx: add curlx_winapi_ functions 2025-05-09 10:45:36 +02:00