curl/tests/server/.checksrc
Viktor Szakats 31a4f415af
build: tidy up and dedupe strdup functions
- de-dupe lib/src strdup/memdup functions into curlx.
- introduce `CURLX_STRDUP_LOW()` for mapping `strdup()`, and to do it at
  one place within the code, in `curl_setup.h`.
- tests/server: use `curlx_strdup()`. (Also to fix building without
  a system `strdup()`.)
- curlx/curlx.h: shorten and tidy up.
- adjust Windows build path to not need `HAVE_STRDUP`.
- build: stop detecting `HAVE_STRDUP` on Windows.

Closes #20497
2026-02-03 14:02:30 +01:00

19 lines
360 B
Text

# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
#
# SPDX-License-Identifier: curl
allowfunc accept
allowfunc calloc
allowfunc fprintf
allowfunc free
allowfunc freeaddrinfo
allowfunc getaddrinfo
allowfunc malloc
allowfunc printf
allowfunc realloc
allowfunc recv
allowfunc send
allowfunc snprintf
allowfunc socket
allowfunc sscanf
allowfunc vsnprintf