/curl/include/curl/ |
H A D | typecheck-gcc.h | 43 #define curl_easy_setopt(handle, option, value) \ argument 45 CURLoption _curl_opt = (option); \ 253 #define curlcheck_long_option(option) \ argument 254 (0 < (option) && (option) < CURLOPTTYPE_OBJECTPOINT) 256 #define curlcheck_off_t_option(option) \ argument 257 (((option) > CURLOPTTYPE_OFF_T) && ((option) < CURLOPTTYPE_BLOB)) 355 #define curlcheck_write_cb_option(option) \ argument 356 ((option) == CURLOPT_HEADERFUNCTION || \ 357 (option) == CURLOPT_WRITEFUNCTION) 360 #define curlcheck_conv_cb_option(option) \ argument [all …]
|
/curl/scripts/ |
H A D | completion.pl | 84 my $option = ''; 94 $option .= "complete --command curl"; 103 $option .= trim($long) if defined $long; 104 $option .= '}' if defined $short; 108 $option .= ":'$arg'"; 110 $option .= ':_files'; 112 $option .= ":'_path_files -/'"; 114 $option .= ':_urls'; 116 $option .= ":'(multicwd nocwd singlecwd)'"; 118 $option .= ":'(DELETE GET HEAD POST PUT)'"; [all …]
|
/curl/lib/ |
H A D | telnet.c | 330 switch(tn->him[option]) { in set_remote_option() 365 switch(tn->him[option]) { in set_remote_option() 403 switch(tn->him[option]) { in rec_will() 451 switch(tn->him[option]) { in rec_wont() 494 switch(tn->us[option]) { in set_local_option() 529 switch(tn->us[option]) { in set_local_option() 567 switch(tn->us[option]) { in rec_do() 591 switch(tn->usq[option]) { in rec_do() 627 switch(tn->us[option]) { in rec_dont() 826 olen = sep - option; in check_telnet_options() [all …]
|
/curl/docs/libcurl/ |
H A D | curl_easy_option_by_id.md | 18 curl_easy_option_by_id - find an easy setopt option by id 32 curl_easy_setopt(3) option using that id. The option id is the CURLOPT_ 37 If libcurl has no option with the given id, this function returns NULL. 48 printf("This option wants type %x\n", opt->type); 57 A pointer to the *curl_easyoption* struct for the option or NULL.
|
H A D | curl_easy_option_by_name.md | 18 curl_easy_option_by_name - find an easy setopt option by name 32 curl_easy_setopt(3) option using that name. The name should be specified 36 If libcurl has no option with the given name, this function returns NULL. 47 printf("This option wants CURLoption %x\n", (int)opt->id); 56 A pointer to the *curl_easyoption* struct for the option or NULL.
|
/curl/m4/ |
H A D | curl-confopts.m4 | 47 dnl configure option not specified 71 dnl --disable-ares option used 75 dnl configure option not specified 79 dnl --enable-ares option used 161 dnl --disable-debug option used 165 dnl configure option not specified 169 dnl --enable-debug option used 402 dnl --disable-werror option used 410 dnl --enable-werror option used 688 dnl --disable-ech option used [all …]
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_CAINFO.md | 42 This option is by default set to the system path where libcurl's CA 45 (iOS and macOS) When curl uses Secure Transport this option is supported. If 46 the option is not set, then curl uses the certificates in the system and user 49 (Schannel) This option is supported for Schannel in Windows 7 or later but we 51 If the option is not set, then curl uses the certificates in the Windows' 55 option. 57 Using this option multiple times makes the last set string override the 65 Schannel, this option is not set by default. 92 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
|
H A D | CURLOPT_ISSUERCERT.md | 34 certificate in PEM format. If the option is set, an additional check against 36 associated with the certificate provided by the option. This additional check 40 This option makes sense only when used in combination with the 41 CURLOPT_SSL_VERIFYPEER(3) option. Otherwise, the result of the check is 44 A specific error code (CURLE_SSL_ISSUER_ERROR) is defined with the option, 49 Using this option multiple times makes the last set string override the 53 option. 81 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
|
H A D | CURLOPT_PROXY_ISSUERCERT.md | 36 certificate in PEM format. If the option is set, an additional check against 38 indeed the one associated with the certificate provided by the option. This 42 This option makes sense only when used in combination with the 43 CURLOPT_PROXY_SSL_VERIFYPEER(3) option. Otherwise, the result of the check is 46 A specific error code (CURLE_SSL_ISSUER_ERROR) is defined with the option, 52 option. 54 Using this option multiple times makes the last set string override the 85 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
|
H A D | CURLOPT_LOGIN_OPTIONS.md | 40 and should be used in conjunction with the CURLOPT_USERNAME(3) option. 42 Since 8.2.0, IMAP supports the login option "AUTH=+LOGIN". With this option, 44 advertises SASL authentication. Care should be taken in using this option, as 49 option. 51 Using this option multiple times makes the last set string override the 84 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
|
H A D | CURLOPT_PASSWORD.md | 34 The CURLOPT_PASSWORD(3) option should be used in conjunction with the 35 CURLOPT_USERNAME(3) option. 38 option. 40 Using this option multiple times makes the last set string override the 72 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
|
H A D | CURLOPT_SSL_OPTIONS.md | 38 SSL3 and TLS1.0 protocols. If this option is not used or this bit is set to 0, 42 option to 1 you ask for exactly that. This option is only supported for Secure 48 where such behavior is present. This option is only supported for Schannel 56 does by default. This option is only supported for OpenSSL and fails the 64 present. This option is only supported for Schannel (the native Windows SSL 71 verification. If you set this option and also set a CA certificate file or 82 authentication, when requested by the server. This option is only supported 91 Tell libcurl to try sending application data as TLS1.3 early data. This option 92 is only supported for GnuTLS. This option works on a best effort basis, 95 This option does not work when using QUIC. [all …]
|
H A D | CURLOPT_COPYPOSTFIELDS.md | 32 HTTP POST operation. It behaves as the CURLOPT_POSTFIELDS(3) option, but the 34 overwrite the original data after setting this option. 36 Because data is copied, care must be taken when using this option in 42 or CURLOPT_COPYPOSTFIELDS(3) option is set. 45 option. 47 Using this option multiple times makes the last set string override the 81 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
|
H A D | CURLOPT_DEFAULT_PROTOCOL.md | 32 This option tells libcurl to use *protocol* if the URL is missing a scheme 47 This option does not change the default proxy protocol (http). 49 Without this option libcurl would make a guess based on the host, see 53 option. 55 Using this option multiple times makes the last set string override the 87 CURLE_OK if the option is supported. 91 CURLE_UNKNOWN_OPTION if the option is not supported.
|
H A D | CURLOPT_PROXY_CRLFILE.md | 35 This option is for connecting to an HTTPS proxy, not an HTTPS server. 47 This option makes sense only when used in combination with the 48 CURLOPT_PROXY_SSL_VERIFYPEER(3) option. 50 A specific error code (*CURLE_SSL_CRL_BADFILE*) is defined with the option. It 56 option. 58 Using this option multiple times makes the last set string override the 88 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
|
H A D | CURLOPT_PROXY_CAINFO.md | 38 This option is for connecting to an HTTPS proxy, not an HTTPS server. 47 This option is by default set to the system path where libcurl's CA 51 option is supported for backward compatibility with other SSL engines, but it 52 should not be set. If the option is not set, then curl uses the certificates 57 option. 59 Using this option multiple times makes the last set string override the 92 CURLOPT_PROXY_CAINFO(3) option is ignored. Refer to 99 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
|
H A D | CURLOPT_PROXY_TLSAUTH_PASSWORD.md | 37 CURLOPT_PROXY_TLSAUTH_TYPE(3) option. Requires that the 38 CURLOPT_PROXY_TLSAUTH_USERNAME(3) option also be set. 41 option. 43 Using this option multiple times makes the last set string override the 75 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
|
H A D | CURLOPT_PROXY_TLSAUTH_USERNAME.md | 37 the CURLOPT_PROXY_TLSAUTH_TYPE(3) option. Requires that the 38 CURLOPT_PROXY_TLSAUTH_PASSWORD(3) option also be set. 41 option. 43 Using this option multiple times makes the last set string override the 75 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
|
H A D | CURLOPT_PROXYPASSWORD.md | 34 The CURLOPT_PROXYPASSWORD(3) option should be used in conjunction with the 35 CURLOPT_PROXYUSERNAME(3) option. 38 option. 40 Using this option multiple times makes the last set string override the 71 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
|
/curl/docs/cmdline-opts/ |
H A D | cacert.md | 23 curl is built to use a default file for this, so this option is typically used 28 cert bundle. This option overrides that variable. 34 curl 8.11.0 added a build-time option to disable this search behavior, and 35 another option to restrict search to the application's directory. 38 option is supported for backward compatibility with other SSL engines, but it 39 should not be set. If the option is not set, then curl uses the certificates 43 (Schannel only) This option is supported for Schannel in Windows 7 or later 44 (added in 7.60.0). This option is supported for backward compatibility with
|
H A D | keepalive-cnt.md | 20 before dropping the connection. This option is usually used in conjunction 23 This option is supported on Linux, *BSD/macOS, Windows \>=10.0.16299, Solaris 24 11.4, and recent AIX, HP-UX and more. This option has no effect if 27 If unspecified, the option defaults to 9.
|
H A D | negotiate.md | 23 This option requires a library built with GSS-API or SSPI support. Use 26 When using this option, you must also provide a fake --user option to activate 28 and password from the --user option are not actually used.
|
H A D | tcp-nodelay.md | 17 Turn on the TCP_NODELAY option. See the *curl_easy_setopt(3)* man page for 18 details about this option. 20 curl sets this option by default and you need to explicitly switch it off if
|
H A D | telnet-option.md | 4 Long: telnet-option 7 Help: Set telnet option 17 # `--telnet-option`
|
/curl/tests/libtest/ |
H A D | lib2405.c | 57 #define test_run_check(option, expected_fds) do { \ argument 58 res = test_run(URL, option, &fd_count); \ 76 static CURLcode set_easy(char *URL, CURL *easy, long option) in set_easy() argument 86 switch(option) { in set_easy() 118 static CURLcode test_run(char *URL, long option, unsigned int *max_fd_count) in test_run() argument 143 if(set_easy(URL, easy1, option) != CURLE_OK) in test_run() 146 if(set_easy(URL, easy2, option) != CURLE_OK) in test_run() 152 if(option == TEST_USE_HTTP2_MPLEX) in test_run()
|