1# Description: 2# curl is a tool for talking to web servers. 3 4licenses(["notice"]) # MIT/X derivative license 5 6cc_library( 7 name = "curl", 8 srcs = [ 9 "include/curl_config.h", 10 "lib/amigaos.h", 11 "lib/arpa_telnet.h", 12 "lib/asyn.h", 13 "lib/asyn-ares.c", 14 "lib/base64.c", 15 "lib/config-win32.h", 16 "lib/conncache.c", 17 "lib/conncache.h", 18 "lib/connect.c", 19 "lib/connect.h", 20 "lib/content_encoding.c", 21 "lib/content_encoding.h", 22 "lib/cookie.c", 23 "lib/cookie.h", 24 "lib/curl_addrinfo.c", 25 "lib/curl_addrinfo.h", 26 "lib/curl_base64.h", 27 "lib/curl_des.h", 28 "lib/curl_endian.h", 29 "lib/curl_fnmatch.c", 30 "lib/curl_fnmatch.h", 31 "lib/curl_gethostname.c", 32 "lib/curl_gethostname.h", 33 "lib/curl_gssapi.h", 34 "lib/curl_hmac.h", 35 "lib/curl_ldap.h", 36 "lib/curl_md4.h", 37 "lib/curl_md5.h", 38 "lib/curl_memory.h", 39 "lib/curl_memrchr.c", 40 "lib/curl_memrchr.h", 41 "lib/curl_multibyte.c", 42 "lib/curl_multibyte.h", 43 "lib/curl_ntlm_core.h", 44 "lib/curl_ntlm_wb.h", 45 "lib/curl_printf.h", 46 "lib/curl_rtmp.c", 47 "lib/curl_rtmp.h", 48 "lib/curl_sasl.c", 49 "lib/curl_sasl.h", 50 "lib/curl_sec.h", 51 "lib/curl_setup.h", 52 "lib/curl_setup_once.h", 53 "lib/curl_sspi.c", 54 "lib/curl_sspi.h", 55 "lib/curl_threads.c", 56 "lib/curl_threads.h", 57 "lib/curlx.h", 58 "lib/dict.h", 59 "lib/dotdot.c", 60 "lib/dotdot.h", 61 "lib/easy.c", 62 "lib/easyif.h", 63 "lib/escape.c", 64 "lib/escape.h", 65 "lib/file.h", 66 "lib/fileinfo.c", 67 "lib/fileinfo.h", 68 "lib/formdata.c", 69 "lib/formdata.h", 70 "lib/ftp.h", 71 "lib/ftplistparser.h", 72 "lib/getenv.c", 73 "lib/getinfo.c", 74 "lib/getinfo.h", 75 "lib/gopher.h", 76 "lib/hash.c", 77 "lib/hash.h", 78 "lib/hmac.c", 79 "lib/hostasyn.c", 80 "lib/hostcheck.c", 81 "lib/hostcheck.h", 82 "lib/hostip.c", 83 "lib/hostip.h", 84 "lib/hostip4.c", 85 "lib/hostip6.c", 86 "lib/hostsyn.c", 87 "lib/http.c", 88 "lib/http.h", 89 "lib/http2.c", 90 "lib/http2.h", 91 "lib/http_chunks.c", 92 "lib/http_chunks.h", 93 "lib/http_digest.c", 94 "lib/http_digest.h", 95 "lib/http_negotiate.h", 96 "lib/http_ntlm.h", 97 "lib/http_proxy.c", 98 "lib/http_proxy.h", 99 "lib/if2ip.c", 100 "lib/if2ip.h", 101 "lib/imap.h", 102 "lib/inet_ntop.h", 103 "lib/inet_pton.c", 104 "lib/inet_pton.h", 105 "lib/krb5.c", 106 "lib/llist.c", 107 "lib/llist.h", 108 "lib/md4.c", 109 "lib/md5.c", 110 "lib/memdebug.c", 111 "lib/memdebug.h", 112 "lib/mprintf.c", 113 "lib/multi.c", 114 "lib/multihandle.h", 115 "lib/multiif.h", 116 "lib/netrc.c", 117 "lib/netrc.h", 118 "lib/non-ascii.h", 119 "lib/nonblock.c", 120 "lib/nonblock.h", 121 "lib/nwlib.c", 122 "lib/nwos.c", 123 "lib/parsedate.c", 124 "lib/parsedate.h", 125 "lib/pingpong.h", 126 "lib/pipeline.c", 127 "lib/pipeline.h", 128 "lib/pop3.h", 129 "lib/progress.c", 130 "lib/progress.h", 131 "lib/rawstr.c", 132 "lib/rawstr.h", 133 "lib/rtsp.c", 134 "lib/rtsp.h", 135 "lib/security.c", 136 "lib/select.c", 137 "lib/select.h", 138 "lib/sendf.c", 139 "lib/sendf.h", 140 "lib/setup-os400.h", 141 "lib/setup-vms.h", 142 "lib/share.c", 143 "lib/share.h", 144 "lib/sigpipe.h", 145 "lib/slist.c", 146 "lib/slist.h", 147 "lib/smb.h", 148 "lib/smtp.h", 149 "lib/sockaddr.h", 150 "lib/socks.c", 151 "lib/socks.h", 152 "lib/speedcheck.c", 153 "lib/speedcheck.h", 154 "lib/splay.c", 155 "lib/splay.h", 156 "lib/ssh.h", 157 "lib/strdup.c", 158 "lib/strdup.h", 159 "lib/strequal.c", 160 "lib/strequal.h", 161 "lib/strerror.c", 162 "lib/strerror.h", 163 "lib/strtok.c", 164 "lib/strtok.h", 165 "lib/strtoofft.c", 166 "lib/strtoofft.h", 167 "lib/system_win32.h", 168 "lib/telnet.h", 169 "lib/tftp.h", 170 "lib/timeval.c", 171 "lib/timeval.h", 172 "lib/transfer.c", 173 "lib/transfer.h", 174 "lib/url.c", 175 "lib/url.h", 176 "lib/urldata.h", 177 "lib/vauth/cleartext.c", 178 "lib/vauth/cram.c", 179 "lib/vauth/digest.c", 180 "lib/vauth/digest.h", 181 "lib/vauth/ntlm.h", 182 "lib/vauth/oauth2.c", 183 "lib/vauth/vauth.c", 184 "lib/vauth/vauth.h", 185 "lib/version.c", 186 "lib/vtls/axtls.h", 187 "lib/vtls/cyassl.h", 188 "lib/vtls/darwinssl.h", 189 "lib/vtls/gskit.h", 190 "lib/vtls/gtls.h", 191 "lib/vtls/mbedtls.h", 192 "lib/vtls/nssg.h", 193 "lib/vtls/openssl.h", 194 "lib/vtls/polarssl.h", 195 "lib/vtls/polarssl_threadlock.h", 196 "lib/vtls/schannel.h", 197 "lib/vtls/vtls.c", 198 "lib/vtls/vtls.h", 199 "lib/warnless.c", 200 "lib/warnless.h", 201 "lib/wildcard.c", 202 "lib/wildcard.h", 203 "lib/x509asn1.h", 204 ] + select({ 205 "@platforms//os:macos": ["lib/vtls/darwinssl.c"], 206 "@platforms//os:linux": ["lib/vtls/openssl.c"], 207 "//conditions:default": ["@platforms//:incompatible"], 208 }), 209 hdrs = [ 210 ":configure", 211 "include/curl/curl.h", 212 "include/curl/curlbuild.h", 213 "include/curl/curlrules.h", 214 "include/curl/curlver.h", 215 "include/curl/easy.h", 216 "include/curl/mprintf.h", 217 "include/curl/multi.h", 218 "include/curl/stdcheaders.h", 219 "include/curl/typecheck-gcc.h", 220 ], 221 copts = [ 222 "-Iexternal/curl/lib", 223 "-D_GNU_SOURCE", 224 "-DHAVE_CONFIG_H", 225 "-DCURL_DISABLE_FTP", 226 "-DCURL_DISABLE_NTLM", # turning it off in configure is not enough 227 "-DHAVE_LIBZ", 228 "-DHAVE_ZLIB_H", 229 "-Wno-string-plus-int", 230 ] + select({ 231 "@platforms//os:macos": ["-fno-constant-cfstrings"], 232 "@platforms//os:linux": ["-DCURL_MAX_WRITE_SIZE=65536"], 233 "//conditions:default": ["@platforms//:incompatible"], 234 }), 235 defines = ["CURL_STATICLIB"], 236 includes = ["include"], 237 linkopts = select({ 238 "@platforms//os:macos": [ 239 "-Wl,-framework", 240 "-Wl,CoreFoundation", 241 "-Wl,-framework", 242 "-Wl,Security", 243 ], 244 "@platforms//os:linux": ["-lrt"], 245 "//conditions:default": ["@platforms//:incompatible"], 246 }), 247 visibility = ["//visibility:public"], 248 deps = [ 249 "@boringssl//:ssl", 250 "@zlib//:zlib", 251 ], 252) 253 254cc_binary( 255 name = "curl_bin", 256 srcs = [ 257 "lib/config-win32.h", 258 "src/slist_wc.c", 259 "src/slist_wc.h", 260 "src/tool_binmode.c", 261 "src/tool_binmode.h", 262 "src/tool_bname.c", 263 "src/tool_bname.h", 264 "src/tool_cb_dbg.c", 265 "src/tool_cb_dbg.h", 266 "src/tool_cb_hdr.c", 267 "src/tool_cb_hdr.h", 268 "src/tool_cb_prg.c", 269 "src/tool_cb_prg.h", 270 "src/tool_cb_rea.c", 271 "src/tool_cb_rea.h", 272 "src/tool_cb_see.c", 273 "src/tool_cb_see.h", 274 "src/tool_cb_wrt.c", 275 "src/tool_cb_wrt.h", 276 "src/tool_cfgable.c", 277 "src/tool_cfgable.h", 278 "src/tool_convert.c", 279 "src/tool_convert.h", 280 "src/tool_dirhie.c", 281 "src/tool_dirhie.h", 282 "src/tool_doswin.c", 283 "src/tool_doswin.h", 284 "src/tool_easysrc.c", 285 "src/tool_easysrc.h", 286 "src/tool_formparse.c", 287 "src/tool_formparse.h", 288 "src/tool_getparam.c", 289 "src/tool_getparam.h", 290 "src/tool_getpass.c", 291 "src/tool_getpass.h", 292 "src/tool_help.c", 293 "src/tool_help.h", 294 "src/tool_helpers.c", 295 "src/tool_helpers.h", 296 "src/tool_homedir.c", 297 "src/tool_homedir.h", 298 "src/tool_hugehelp.c", 299 "src/tool_hugehelp.h", 300 "src/tool_libinfo.c", 301 "src/tool_libinfo.h", 302 "src/tool_main.c", 303 "src/tool_main.h", 304 "src/tool_metalink.c", 305 "src/tool_metalink.h", 306 "src/tool_mfiles.c", 307 "src/tool_mfiles.h", 308 "src/tool_msgs.c", 309 "src/tool_msgs.h", 310 "src/tool_operate.c", 311 "src/tool_operate.h", 312 "src/tool_operhlp.c", 313 "src/tool_operhlp.h", 314 "src/tool_panykey.c", 315 "src/tool_panykey.h", 316 "src/tool_paramhlp.c", 317 "src/tool_paramhlp.h", 318 "src/tool_parsecfg.c", 319 "src/tool_parsecfg.h", 320 "src/tool_sdecls.h", 321 "src/tool_setopt.c", 322 "src/tool_setopt.h", 323 "src/tool_setup.h", 324 "src/tool_sleep.c", 325 "src/tool_sleep.h", 326 "src/tool_strdup.c", 327 "src/tool_strdup.h", 328 "src/tool_urlglob.c", 329 "src/tool_urlglob.h", 330 "src/tool_util.c", 331 "src/tool_util.h", 332 "src/tool_version.h", 333 "src/tool_vms.c", 334 "src/tool_vms.h", 335 "src/tool_writeenv.c", 336 "src/tool_writeenv.h", 337 "src/tool_writeout.c", 338 "src/tool_writeout.h", 339 "src/tool_xattr.c", 340 "src/tool_xattr.h", 341 ], 342 copts = [ 343 "-Iexternal/curl/lib", 344 "-D_GNU_SOURCE", 345 "-DHAVE_CONFIG_H", 346 "-DCURL_DISABLE_LIBCURL_OPTION", 347 "-Wno-string-plus-int", 348 ], 349 deps = [":curl"], 350) 351 352genrule( 353 name = "configure", 354 outs = ["include/curl_config.h"], 355 cmd = "\n".join([ 356 "cat <<'EOF' >$@", 357 "#ifndef EXTERNAL_CURL_INCLUDE_CURL_CONFIG_H_", 358 "#define EXTERNAL_CURL_INCLUDE_CURL_CONFIG_H_", 359 "", 360 "#if !defined(_WIN32) && !defined(__APPLE__)", 361 "# include <openssl/opensslv.h>", 362 "# if defined(OPENSSL_IS_BORINGSSL)", 363 "# define HAVE_BORINGSSL 1", 364 "# endif", 365 "#endif", 366 "", 367 "#if defined(_WIN32)", 368 "# include \"lib/config-win32.h\"", 369 "# define BUILDING_LIBCURL 1", 370 "# define CURL_DISABLE_CRYPTO_AUTH 1", 371 "# define CURL_DISABLE_DICT 1", 372 "# define CURL_DISABLE_FILE 1", 373 "# define CURL_DISABLE_GOPHER 1", 374 "# define CURL_DISABLE_IMAP 1", 375 "# define CURL_DISABLE_LDAP 1", 376 "# define CURL_DISABLE_LDAPS 1", 377 "# define CURL_DISABLE_POP3 1", 378 "# define CURL_PULL_WS2TCPIP_H 1", 379 "# define CURL_DISABLE_SMTP 1", 380 "# define CURL_DISABLE_TELNET 1", 381 "# define CURL_DISABLE_TFTP 1", 382 "# define CURL_PULL_WS2TCPIP_H 1", 383 "# define USE_WINDOWS_SSPI 1", 384 "# define USE_WIN32_IDN 1", 385 "# define USE_SCHANNEL 1", 386 "# define WANT_IDN_PROTOTYPES 1", 387 "#elif defined(__APPLE__)", 388 "# define HAVE_FSETXATTR_6 1", 389 "# define HAVE_SETMODE 1", 390 "# define HAVE_SYS_FILIO_H 1", 391 "# define HAVE_SYS_SOCKIO_H 1", 392 "# define OS \"x86_64-apple-darwin15.5.0\"", 393 "# define USE_DARWINSSL 1", 394 "#else", 395 "# define CURL_CA_BUNDLE \"/etc/ssl/certs/ca-certificates.crt\"", 396 "# define GETSERVBYPORT_R_ARGS 6", 397 "# define GETSERVBYPORT_R_BUFSIZE 4096", 398 "# define HAVE_BORINGSSL 1", 399 "# define HAVE_CLOCK_GETTIME_MONOTONIC 1", 400 "# define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1", 401 "# define HAVE_FSETXATTR_5 1", 402 "# define HAVE_GETHOSTBYADDR_R 1", 403 "# define HAVE_GETHOSTBYADDR_R_8 1", 404 "# define HAVE_GETHOSTBYNAME_R 1", 405 "# define HAVE_GETHOSTBYNAME_R_6 1", 406 "# define HAVE_GETSERVBYPORT_R 1", 407 "# define HAVE_LIBSSL 1", 408 "# define HAVE_MALLOC_H 1", 409 "# define HAVE_MSG_NOSIGNAL 1", 410 "# define HAVE_OPENSSL_CRYPTO_H 1", 411 "# define HAVE_OPENSSL_ERR_H 1", 412 "# define HAVE_OPENSSL_PEM_H 1", 413 "# define HAVE_OPENSSL_PKCS12_H 1", 414 "# define HAVE_OPENSSL_RSA_H 1", 415 "# define HAVE_OPENSSL_SSL_H 1", 416 "# define HAVE_OPENSSL_X509_H 1", 417 "# define HAVE_RAND_EGD 1", 418 "# define HAVE_RAND_STATUS 1", 419 "# define HAVE_SSL_GET_SHUTDOWN 1", 420 "# define HAVE_TERMIOS_H 1", 421 "# define OS \"x86_64-pc-linux-gnu\"", 422 "# define RANDOM_FILE \"/dev/urandom\"", 423 "# define USE_OPENSSL 1", 424 "#endif", 425 "", 426 "#if !defined(_WIN32)", 427 "# define CURL_DISABLE_DICT 1", 428 "# define CURL_DISABLE_FILE 1", 429 "# define CURL_DISABLE_GOPHER 1", 430 "# define CURL_DISABLE_IMAP 1", 431 "# define CURL_DISABLE_LDAP 1", 432 "# define CURL_DISABLE_LDAPS 1", 433 "# define CURL_DISABLE_POP3 1", 434 "# define CURL_DISABLE_SMTP 1", 435 "# define CURL_DISABLE_TELNET 1", 436 "# define CURL_DISABLE_TFTP 1", 437 "# define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ (\"default\")))", 438 "# define ENABLE_IPV6 1", 439 "# define GETHOSTNAME_TYPE_ARG2 size_t", 440 "# define GETNAMEINFO_QUAL_ARG1 const", 441 "# define GETNAMEINFO_TYPE_ARG1 struct sockaddr *", 442 "# define GETNAMEINFO_TYPE_ARG2 socklen_t", 443 "# define GETNAMEINFO_TYPE_ARG46 socklen_t", 444 "# define GETNAMEINFO_TYPE_ARG7 int", 445 "# define HAVE_ALARM 1", 446 "# define HAVE_ALLOCA_H 1", 447 "# define HAVE_ARPA_INET_H 1", 448 "# define HAVE_ARPA_TFTP_H 1", 449 "# define HAVE_ASSERT_H 1", 450 "# define HAVE_BASENAME 1", 451 "# define HAVE_BOOL_T 1", 452 "# define HAVE_CONNECT 1", 453 "# define HAVE_DLFCN_H 1", 454 "# define HAVE_ERRNO_H 1", 455 "# define HAVE_FCNTL 1", 456 "# define HAVE_FCNTL_H 1", 457 "# define HAVE_FCNTL_O_NONBLOCK 1", 458 "# define HAVE_FDOPEN 1", 459 "# define HAVE_FORK 1", 460 "# define HAVE_FREEADDRINFO 1", 461 "# define HAVE_FREEIFADDRS 1", 462 "# if !defined(__ANDROID__)", 463 "# define HAVE_FSETXATTR 1", 464 "# endif", 465 "# define HAVE_FTRUNCATE 1", 466 "# define HAVE_GAI_STRERROR 1", 467 "# define HAVE_GETADDRINFO 1", 468 "# define HAVE_GETADDRINFO_THREADSAFE 1", 469 "# define HAVE_GETEUID 1", 470 "# define HAVE_GETHOSTBYADDR 1", 471 "# define HAVE_GETHOSTBYNAME 1", 472 "# define HAVE_GETHOSTNAME 1", 473 "# if !defined(__ANDROID__)", 474 "# define HAVE_GETIFADDRS 1", 475 "# endif", 476 "# define HAVE_GETNAMEINFO 1", 477 "# define HAVE_GETPPID 1", 478 "# define HAVE_GETPROTOBYNAME 1", 479 "# define HAVE_GETPWUID 1", 480 "# if !defined(__ANDROID__)", 481 "# define HAVE_GETPWUID_R 1", 482 "# endif", 483 "# define HAVE_GETRLIMIT 1", 484 "# define HAVE_GETTIMEOFDAY 1", 485 "# define HAVE_GMTIME_R 1", 486 "# if !defined(__ANDROID__)", 487 "# define HAVE_IFADDRS_H 1", 488 "# endif", 489 "# define HAVE_IF_NAMETOINDEX 1", 490 "# define HAVE_INET_ADDR 1", 491 "# define HAVE_INET_NTOP 1", 492 "# define HAVE_INET_PTON 1", 493 "# define HAVE_INTTYPES_H 1", 494 "# define HAVE_IOCTL 1", 495 "# define HAVE_IOCTL_FIONBIO 1", 496 "# define HAVE_IOCTL_SIOCGIFADDR 1", 497 "# define HAVE_LIBGEN_H 1", 498 "# define HAVE_LIBZ 1", 499 "# define HAVE_LIMITS_H 1", 500 "# define HAVE_LL 1", 501 "# define HAVE_LOCALE_H 1", 502 "# define HAVE_LOCALTIME_R 1", 503 "# define HAVE_LONGLONG 1", 504 "# define HAVE_MEMORY_H 1", 505 "# define HAVE_NETDB_H 1", 506 "# define HAVE_NETINET_IN_H 1", 507 "# define HAVE_NETINET_TCP_H 1", 508 "# define HAVE_NET_IF_H 1", 509 "# define HAVE_PERROR 1", 510 "# define HAVE_PIPE 1", 511 "# define HAVE_POLL 1", 512 "# define HAVE_POLL_FINE 1", 513 "# define HAVE_POLL_H 1", 514 "# define HAVE_POSIX_STRERROR_R 1", 515 "# define HAVE_PWD_H 1", 516 "# define HAVE_RECV 1", 517 "# define HAVE_SELECT 1", 518 "# define HAVE_SEND 1", 519 "# define HAVE_SETJMP_H 1", 520 "# define HAVE_SETLOCALE 1", 521 "# define HAVE_SETRLIMIT 1", 522 "# define HAVE_SETSOCKOPT 1", 523 "# define HAVE_SGTTY_H 1", 524 "# define HAVE_SIGACTION 1", 525 "# define HAVE_SIGINTERRUPT 1", 526 "# define HAVE_SIGNAL 1", 527 "# define HAVE_SIGNAL_H 1", 528 "# define HAVE_SIGSETJMP 1", 529 "# define HAVE_SIG_ATOMIC_T 1", 530 "# define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1", 531 "# define HAVE_SOCKET 1", 532 "# define HAVE_SOCKETPAIR 1", 533 "# define HAVE_STDBOOL_H 1", 534 "# define HAVE_STDINT_H 1", 535 "# define HAVE_STDIO_H 1", 536 "# define HAVE_STDLIB_H 1", 537 "# define HAVE_STRCASECMP 1", 538 "# define HAVE_STRDUP 1", 539 "# define HAVE_STRERROR_R 1", 540 "# define HAVE_STRINGS_H 1", 541 "# define HAVE_STRING_H 1", 542 "# define HAVE_STRNCASECMP 1", 543 "# define HAVE_STRSTR 1", 544 "# define HAVE_STRTOK_R 1", 545 "# define HAVE_STRTOLL 1", 546 "# define HAVE_STRUCT_SOCKADDR_STORAGE 1", 547 "# define HAVE_STRUCT_TIMEVAL 1", 548 "# define HAVE_SYS_IOCTL_H 1", 549 "# define HAVE_SYS_PARAM_H 1", 550 "# define HAVE_SYS_POLL_H 1", 551 "# define HAVE_SYS_RESOURCE_H 1", 552 "# define HAVE_SYS_SELECT_H 1", 553 "# define HAVE_SYS_SOCKET_H 1", 554 "# define HAVE_SYS_STAT_H 1", 555 "# define HAVE_SYS_TIME_H 1", 556 "# define HAVE_SYS_TYPES_H 1", 557 "# define HAVE_SYS_UIO_H 1", 558 "# define HAVE_SYS_UN_H 1", 559 "# define HAVE_SYS_WAIT_H 1", 560 "# define HAVE_SYS_XATTR_H 1", 561 "# define HAVE_TIME_H 1", 562 "# define HAVE_UNAME 1", 563 "# define HAVE_UNISTD_H 1", 564 "# define HAVE_UTIME 1", 565 "# define HAVE_UTIME_H 1", 566 "# define HAVE_VARIADIC_MACROS_C99 1", 567 "# define HAVE_VARIADIC_MACROS_GCC 1", 568 "# define HAVE_WRITABLE_ARGV 1", 569 "# define HAVE_WRITEV 1", 570 "# define HAVE_ZLIB_H 1", 571 "# define LT_OBJDIR \".libs/\"", 572 "# define PACKAGE \"curl\"", 573 "# define PACKAGE_BUGREPORT \"a suitable curl mailing list: https://curl.haxx.se/mail/\"", 574 "# define PACKAGE_NAME \"curl\"", 575 "# define PACKAGE_STRING \"curl -\"", 576 "# define PACKAGE_TARNAME \"curl\"", 577 "# define PACKAGE_URL \"\"", 578 "# define PACKAGE_VERSION \"-\"", 579 "# define RECV_TYPE_ARG1 int", 580 "# define RECV_TYPE_ARG2 void *", 581 "# define RECV_TYPE_ARG3 size_t", 582 "# define RECV_TYPE_ARG4 int", 583 "# define RECV_TYPE_RETV ssize_t", 584 "# define RETSIGTYPE void", 585 "# define SELECT_QUAL_ARG5", 586 "# define SELECT_TYPE_ARG1 int", 587 "# define SELECT_TYPE_ARG234 fd_set *", 588 "# define SELECT_TYPE_ARG5 struct timeval *", 589 "# define SELECT_TYPE_RETV int", 590 "# define SEND_QUAL_ARG2 const", 591 "# define SEND_TYPE_ARG1 int", 592 "# define SEND_TYPE_ARG2 void *", 593 "# define SEND_TYPE_ARG3 size_t", 594 "# define SEND_TYPE_ARG4 int", 595 "# define SEND_TYPE_RETV ssize_t", 596 "# define SIZEOF_INT 4", 597 "# define SIZEOF_LONG 8", 598 "# define SIZEOF_OFF_T 8", 599 "# define SIZEOF_SHORT 2", 600 "# define SIZEOF_SIZE_T 8", 601 "# define SIZEOF_TIME_T 8", 602 "# define SIZEOF_VOIDP 8", 603 "# define STDC_HEADERS 1", 604 "# define STRERROR_R_TYPE_ARG3 size_t", 605 "# define TIME_WITH_SYS_TIME 1", 606 "# define VERSION \"-\"", 607 "# ifndef _DARWIN_USE_64_BIT_INODE", 608 "# define _DARWIN_USE_64_BIT_INODE 1", 609 "# endif", 610 "#endif", 611 "", 612 "#endif // EXTERNAL_CURL_INCLUDE_CURL_CONFIG_H_", 613 "EOF", 614 ]), 615) 616