mirror of
https://github.com/curl/curl.git
synced 2026-04-14 18:21:40 +03:00
- 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
19 lines
360 B
Text
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
|