Used by test server code.
Closes #17300
LIB_CURLX_CFILES = \
curlx/base64.c \
curlx/dynbuf.c \
+ curlx/inet_pton.c \
curlx/multibyte.c \
curlx/nonblock.c \
curlx/strparse.c \
curlx/base64.h \
curlx/curlx.h \
curlx/dynbuf.h \
+ curlx/inet_pton.h \
curlx/multibyte.h \
curlx/nonblock.h \
curlx/strparse.h \
if2ip.c \
imap.c \
inet_ntop.c \
- inet_pton.c \
krb5.c \
ldap.c \
llist.c \
if2ip.h \
imap.h \
inet_ntop.h \
- inet_pton.h \
llist.h \
macos.h \
memdebug.h \
#include "fopen.h"
#include "rename.h"
#include "strdup.h"
-#include "inet_pton.h"
+#include "curlx/inet_pton.h"
#include "curlx/strparse.h"
#include "connect.h"
#include "share.h"
#include "url.h"
#include "multiif.h"
-#include "inet_pton.h"
+#include "curlx/inet_pton.h"
#include "connect.h"
#include "select.h"
#include "progress.h"
#include "multiif.h"
#include "sockaddr.h" /* required for Curl_sockaddr_storage */
#include "inet_ntop.h"
-#include "inet_pton.h"
+#include "curlx/inet_pton.h"
#include "progress.h"
#include "curlx/warnless.h"
#include "conncache.h"
#include "multiif.h"
#include "sockaddr.h" /* required for Curl_sockaddr_storage */
#include "inet_ntop.h"
-#include "inet_pton.h"
+#include "curlx/inet_pton.h"
#include "vtls/vtls.h" /* for vtsl cfilters */
#include "progress.h"
#include "curlx/warnless.h"
#include "curl_addrinfo.h"
#include "fake_addrinfo.h"
-#include "inet_pton.h"
+#include "curlx/inet_pton.h"
#include "curlx/warnless.h"
/* The last 3 #include files should be in this order */
#include "curl_printf.h"
#include "winapi.h"
/* for curlx_winapi_strerror */
+#include "inet_pton.h"
+/* for curlx_inet_pton */
+
#endif /* HEADER_CURL_CURLX_H */
* SPDX-License-Identifier: ISC
*/
-#include "curl_setup.h"
-#include "curl_ctype.h"
-#include "curlx/strparse.h"
+#include "../curl_setup.h"
+#include "../curl_ctype.h"
+#include "strparse.h"
#ifndef HAVE_INET_PTON
*
***************************************************************************/
-#include "curl_setup.h"
+#include "../curl_setup.h"
int curlx_inet_pton(int, const char *, void *);
#include "connect.h"
#include "strerror.h"
#include "inet_ntop.h"
-#include "inet_pton.h"
+#include "curlx/inet_pton.h"
#include "select.h"
#include "parsedate.h" /* for the week day and month names */
#include "sockaddr.h" /* required for Curl_sockaddr_storage */
#include "share.h"
#include "url.h"
#include "inet_ntop.h"
-#include "inet_pton.h"
+#include "curlx/inet_pton.h"
#include "multiif.h"
#include "doh.h"
#include "curlx/warnless.h"
#include "hash.h"
#include "share.h"
#include "url.h"
-#include "inet_pton.h"
+#include "curlx/inet_pton.h"
#include "connect.h"
/* The last 3 #include files should be in this order */
#include "curl_printf.h"
#ifndef CURL_DISABLE_PROXY
-#include "inet_pton.h"
+#include "curlx/inet_pton.h"
#include "strcase.h"
#include "noproxy.h"
#include "curlx/strparse.h"
#include "curlx/timeval.h"
#include "socks.h"
#include "multiif.h" /* for getsock macros */
-#include "inet_pton.h"
+#include "curlx/inet_pton.h"
#include "url.h"
/* The last 3 #include files should be in this order */
#include "url.h"
#include "escape.h"
#include "curl_ctype.h"
-#include "inet_pton.h"
+#include "curlx/inet_pton.h"
#include "inet_ntop.h"
#include "strdup.h"
#include "idn.h"
#include "../curlx/dynbuf.h"
#include "../http1.h"
#include "../select.h"
-#include "../inet_pton.h"
+#include "../curlx/inet_pton.h"
#include "../transfer.h"
#include "vquic.h"
#include "vquic_int.h"
#include "../curlx/dynbuf.h"
#include "../http1.h"
#include "../select.h"
-#include "../inet_pton.h"
+#include "../curlx/inet_pton.h"
#include "../uint-hash.h"
#include "vquic.h"
#include "vquic_int.h"
#include "vquic-tls.h"
#include "curl_quiche.h"
#include "../transfer.h"
-#include "../inet_pton.h"
+#include "../curlx/inet_pton.h"
#include "../vtls/openssl.h"
#include "../vtls/keylog.h"
#include "../vtls/vtls.h"
#include "cipher_suite.h"
#include "../urldata.h"
#include "../sendf.h"
-#include "../inet_pton.h"
+#include "../curlx/inet_pton.h"
#include "vtls.h"
#include "vtls_int.h"
#include "vtls_scache.h"
#include "../urldata.h"
#include "../sendf.h"
-#include "../inet_pton.h"
+#include "../curlx/inet_pton.h"
#include "keylog.h"
#include "gtls.h"
#include "vtls.h"
#include "../strcase.h"
#include "../urldata.h"
#include "../sendf.h"
-#include "../inet_pton.h"
+#include "../curlx/inet_pton.h"
#include "mbedtls.h"
#include "vtls.h"
#include "vtls_int.h"
#include "../sendf.h"
#include "../formdata.h" /* for the boundary function */
#include "../url.h" /* for the ssl config check function */
-#include "../inet_pton.h"
+#include "../curlx/inet_pton.h"
#include "openssl.h"
#include "../connect.h"
#include "../slist.h"
#include <rustls.h>
-#include "../inet_pton.h"
+#include "../curlx/inet_pton.h"
#include "../urldata.h"
#include "../sendf.h"
#include "vtls.h"
#include "../connect.h" /* for the connect timeout */
#include "../strerror.h"
#include "../select.h" /* for the socket readiness */
-#include "../inet_pton.h" /* for IP addr SNI check */
+#include "../curlx/inet_pton.h" /* for IP addr SNI check */
#include "../curlx/multibyte.h"
#include "../curlx/warnless.h"
#include "x509asn1.h"
#include "schannel.h"
#include "schannel_int.h"
-#include "../inet_pton.h"
+#include "../curlx/inet_pton.h"
#include "vtls.h"
#include "vtls_int.h"
#include "../sendf.h"
#endif /* CURL_BUILD_MAC */
#include "../sendf.h"
-#include "../inet_pton.h"
+#include "../curlx/inet_pton.h"
#include "../connect.h"
#include "../select.h"
#include "vtls.h"
#include "../curlx/warnless.h"
#include "../curlx/base64.h"
#include "../curl_printf.h"
-#include "../inet_pton.h"
+#include "../curlx/inet_pton.h"
#include "../connect.h"
#include "../select.h"
#include "../strdup.h"
#include "../urldata.h"
#include "../sendf.h"
-#include "../inet_pton.h"
+#include "../curlx/inet_pton.h"
#include "vtls.h"
#include "vtls_int.h"
#include "vtls_scache.h"
#include "vtls.h"
#include "vtls_int.h"
#include "../sendf.h"
-#include "../inet_pton.h"
+#include "../curlx/inet_pton.h"
#include "../curlx/base64.h"
#include "x509asn1.h"
#include "../curlx/dynbuf.h"
first.h
INET_PTON = \
- ../../lib/inet_pton.c
+ ../../lib/curlx/inet_pton.c
resolve_SOURCES = $(MEMDEBUG) $(CURLX_SRCS) $(CURLX_HDRS) $(UTIL) \
resolve.c