Lines Matching refs:toggle
690 bool toggle; in set_trace_config() local
702 toggle = FALSE; in set_trace_config()
706 toggle = TRUE; in set_trace_config()
710 toggle = TRUE; in set_trace_config()
716 global->traceids = toggle; in set_trace_config()
717 global->tracetime = toggle; in set_trace_config()
723 global->traceids = toggle; in set_trace_config()
726 global->tracetime = toggle; in set_trace_config()
1037 bool toggle = TRUE; /* how to switch boolean options, on or off. Controlled in getparameter() local
1067 toggle = FALSE; in getparameter()
1158 else if((ARGTYPE(a->desc) == ARG_NONE) && !toggle) { in getparameter()
1218 config->disable_epsv = toggle; in getparameter()
1221 config->disallow_username_in_url = toggle; in getparameter()
1224 config->disable_epsv = !toggle; in getparameter()
1254 config->noalpn = !toggle; in getparameter()
1267 if(toggle && !(feature_libz || feature_brotli || feature_zstd)) in getparameter()
1270 config->encoding = toggle; in getparameter()
1273 config->tr_encoding = toggle; in getparameter()
1276 if(toggle) in getparameter()
1282 if(!toggle) in getparameter()
1290 if(!toggle) in getparameter()
1298 if(toggle) in getparameter()
1304 if(toggle) in getparameter()
1314 config->ftp_create_dirs = toggle; in getparameter()
1317 config->create_dirs = toggle; in getparameter()
1338 config->proxyntlm = toggle; in getparameter()
1342 config->crlf = toggle; in getparameter()
1363 config->haproxy_protocol = toggle; in getparameter()
1374 config->disable_eprt = toggle; in getparameter()
1377 config->disable_eprt = !toggle; in getparameter()
1380 config->xattr = toggle; in getparameter()
1412 if(toggle && !feature_ssl) in getparameter()
1415 config->ftp_ssl = toggle; in getparameter()
1444 config->tcp_nodelay = toggle; in getparameter()
1463 config->proxydigest = toggle; in getparameter()
1466 config->proxybasic = toggle; in getparameter()
1472 config->retry_connrefused = toggle; in getparameter()
1481 config->retry_all_errors = toggle; in getparameter()
1487 config->proxynegotiate = toggle; in getparameter()
1491 if(toggle) in getparameter()
1498 config->proxyanyauth = toggle; in getparameter()
1501 global->tracetime = toggle; in getparameter()
1504 config->ignorecl = toggle; in getparameter()
1507 config->ftp_skip_ip = toggle; in getparameter()
1551 if(toggle && !feature_ssl) { in getparameter()
1555 config->ftp_ssl_reqd = toggle; in getparameter()
1558 config->disable_sessionid = !toggle; in getparameter()
1561 if(toggle && !feature_ssl) in getparameter()
1564 config->ftp_ssl_control = toggle; in getparameter()
1567 config->ftp_ssl_ccc = toggle; in getparameter()
1585 config->raw = toggle; in getparameter()
1588 config->nokeepalive = !toggle; in getparameter()
1597 config->post301 = toggle; in getparameter()
1600 config->post302 = toggle; in getparameter()
1603 config->post303 = toggle; in getparameter()
1610 config->socks5_gssapi_nec = toggle; in getparameter()
1628 config->ftp_pret = toggle; in getparameter()
1657 config->sasl_ir = toggle; in getparameter()
1661 global->test_duphandle = toggle; in getparameter()
1664 global->test_event_based = toggle; in getparameter()
1672 config->path_as_is = toggle; in getparameter()
1689 config->tftp_no_options = toggle; in getparameter()
1700 config->ssl_allow_earlydata = toggle; in getparameter()
1706 config->suppress_connect_headers = toggle; in getparameter()
1709 config->ssh_compression = toggle; in getparameter()
1716 global->traceids = toggle; in getparameter()
1723 global->noprogress = !toggle; in getparameter()
1726 global->progressmode = toggle ? CURL_PROGRESS_BAR : CURL_PROGRESS_STATS; in getparameter()
1770 config->http09_allowed = toggle; in getparameter()
1813 config->ftp_append = toggle; in getparameter()
1842 config->use_ascii = toggle; in getparameter()
1898 config->native_ca_store = toggle; in getparameter()
1901 config->proxy_native_ca_store = toggle; in getparameter()
2014 config->ssl_allow_beast = toggle; in getparameter()
2018 config->ssl_auto_client_cert = toggle; in getparameter()
2022 config->proxy_ssl_auto_client_cert = toggle; in getparameter()
2099 config->proxy_ssl_allow_beast = toggle; in getparameter()
2111 config->proxy_insecure_ok = toggle; in getparameter()
2118 if(toggle) in getparameter()
2124 if(toggle) in getparameter()
2139 global->fail_early = toggle; in getparameter()
2142 global->styled_output = toggle; in getparameter()
2145 config->mail_rcpt_allowfails = toggle; in getparameter()
2148 config->failwithbody = toggle; in getparameter()
2156 config->rm_partial = toggle; in getparameter()
2159 config->failonerror = toggle; in getparameter()
2180 config->globoff = toggle; in getparameter()
2183 config->use_httpget = toggle; in getparameter()
2189 if(toggle) { in getparameter()
2244 config->show_headers = toggle; /* show the headers as well in the in getparameter()
2248 config->cookiesession = toggle; in getparameter()
2251 config->no_body = toggle; in getparameter()
2252 config->show_headers = toggle; in getparameter()
2258 config->content_disposition = toggle; in getparameter()
2261 config->insecure_ok = toggle; in getparameter()
2264 config->doh_insecure_ok = toggle; in getparameter()
2273 config->dirlistonly = toggle; /* only list the names of the FTP dir */ in getparameter()
2278 config->unrestricted_auth = toggle; in getparameter()
2281 config->followlocation = toggle; /* Follow Location: HTTP headers */ in getparameter()
2288 if(toggle) { /* --no-manual shows no manual... */ in getparameter()
2297 config->netrc_opt = toggle; in getparameter()
2305 config->netrc = toggle; in getparameter()
2310 config->nobuffer = longopt ? !toggle : TRUE; in getparameter()
2313 config->default_node_flags = toggle ? GETOUT_USEREMOTE : 0; in getparameter()
2319 config->file_clobber_mode = toggle ? CLOBBER_ALWAYS : CLOBBER_NEVER; in getparameter()
2339 if(!toggle && !config->default_node_flags) in getparameter()
2357 if(toggle) in getparameter()
2374 config->proxytunnel = toggle; in getparameter()
2440 config->remote_time = toggle; in getparameter()
2443 global->silent = toggle; in getparameter()
2446 config->skip_existing = toggle; in getparameter()
2449 global->showerror = toggle; in getparameter()
2501 if(!toggle) { in getparameter()
2553 if(toggle) /* --no-version yields no output! */ in getparameter()
2615 global->parallel = toggle; in getparameter()
2631 global->parallel_connect = toggle; in getparameter()