Lines Matching refs:nextarg
383 char *nextarg, /* NULL if unset */ in getparameter() argument
472 nextarg = (char *)&parse[1]; /* this is the actual extra parameter */ in getparameter()
475 else if(!nextarg) in getparameter()
486 GetStr(&config->dns_ipv4_addr, nextarg); in getparameter()
490 GetStr(&config->dns_ipv6_addr, nextarg); in getparameter()
493 GetStr(&config->random_file, nextarg); in getparameter()
496 GetStr(&config->egd_file, nextarg); in getparameter()
499 GetStr(&config->xoauth2_bearer, nextarg); in getparameter()
502 err = str2udouble(&config->connecttimeout, nextarg); in getparameter()
507 GetStr(&config->cipher_list, nextarg); in getparameter()
511 GetStr(&config->dns_interface, nextarg); in getparameter()
526 GetStr(&config->dns_servers, nextarg); in getparameter()
529 GetStr(&global->trace_dump, nextarg); in getparameter()
538 GetStr(&global->trace_dump, nextarg); in getparameter()
551 curl_off_t value = curlx_strtoofft(nextarg, &unit, 0); in getparameter()
663 err = str2num(&config->maxredirs, nextarg); in getparameter()
683 if(strcmp(nextarg, "-")) { in getparameter()
684 FILE *newfile = fopen(nextarg, FOPEN_WRITETEXT); in getparameter()
686 warnf(global, "Failed to open %s!\n", nextarg); in getparameter()
699 GetStr(&config->iface, nextarg); in getparameter()
704 GetStr(&config->krblevel, nextarg); in getparameter()
709 err = str2offset(&config->max_filesize, nextarg); in getparameter()
743 GetStr(&url->url, nextarg); in getparameter()
761 GetStr(&config->socksproxy, nextarg); in getparameter()
765 GetStr(&config->socksproxy, nextarg); in getparameter()
769 GetStr(&config->socksproxy, nextarg); in getparameter()
774 GetStr(&config->socksproxy, nextarg); in getparameter()
787 err = str2unum(&config->req_retry, nextarg); in getparameter()
792 err = str2unum(&config->retry_delay, nextarg); in getparameter()
797 err = str2unum(&config->retry_maxtime, nextarg); in getparameter()
810 GetStr(&config->ftp_account, nextarg); in getparameter()
825 config->ftp_filemethod = ftpfilemethod(config, nextarg); in getparameter()
828 rc = sscanf(nextarg, "%d - %d", in getparameter()
844 GetStr(&config->ftp_alternative_to_user, nextarg); in getparameter()
866 config->ftp_ssl_ccc_mode = ftpcccmethod(config, nextarg); in getparameter()
874 GetStr(&global->libcurl, nextarg); in getparameter()
887 err = str2unum(&config->alivetime, nextarg); in getparameter()
899 GetStr(&config->noproxy, nextarg); in getparameter()
903 GetStr(&config->socks5_gssapi_service, nextarg); in getparameter()
909 GetStr(&config->proxy_service_name, nextarg); in getparameter()
912 GetStr(&config->service_name, nextarg); in getparameter()
917 GetStr(&config->proxy, nextarg); in getparameter()
921 err = str2unum(&config->tftp_blksize, nextarg); in getparameter()
926 GetStr(&config->mail_from, nextarg); in getparameter()
930 err = add2list(&config->mail_rcpt, nextarg); in getparameter()
939 if(proto2num(config, &config->proto, nextarg)) in getparameter()
944 if(proto2num(config, &config->proto_redir, nextarg)) in getparameter()
948 err = add2list(&config->resolve, nextarg); in getparameter()
953 config->gssapi_delegation = delegation(config, nextarg); in getparameter()
956 GetStr(&config->mail_auth, nextarg); in getparameter()
993 GetStr(&config->unix_socket_path, nextarg); in getparameter()
1069 GetStr(&config->useragent, nextarg); in getparameter()
1072 if(nextarg[0] == '@') { in getparameter()
1073 nextarg++; in getparameter()
1075 else if(strchr(nextarg, '=')) { in getparameter()
1077 GetStr(&config->cookie, nextarg); in getparameter()
1081 GetStr(&config->cookiefile, nextarg); in getparameter()
1089 GetStr(&config->cookiejar, nextarg); in getparameter()
1093 if(!curlx_strequal(nextarg, "-")) { in getparameter()
1094 err = str2offset(&config->resume_from, nextarg); in getparameter()
1120 const char *p = strchr(nextarg, '='); in getparameter()
1125 p = strchr(nextarg, '@'); in getparameter()
1127 nlen = p - nextarg; /* length of the name part */ in getparameter()
1133 p = nextarg; in getparameter()
1146 "an empty POST.\n", nextarg); in getparameter()
1183 snprintf(n, outlen, "%.*s=%s", nlen, nextarg, enc); in getparameter()
1197 else if('@' == *nextarg && !raw_mode) { in getparameter()
1200 nextarg++; /* pass the @ */ in getparameter()
1202 if(curlx_strequal("-", nextarg)) { in getparameter()
1208 file = fopen(nextarg, "rb"); in getparameter()
1211 "an empty POST.\n", nextarg); in getparameter()
1237 GetStr(&postdata, nextarg); in getparameter()
1290 GetStr(&config->headerfile, nextarg); in getparameter()
1294 char *ptr = strstr(nextarg, ";auto"); in getparameter()
1303 GetStr(&config->referer, nextarg); in getparameter()
1310 GetStr(&config->cacert, nextarg); in getparameter()
1313 GetStr(&config->cert_type, nextarg); in getparameter()
1316 GetStr(&config->key, nextarg); in getparameter()
1319 GetStr(&config->key_type, nextarg); in getparameter()
1322 GetStr(&config->key_passwd, nextarg); in getparameter()
1323 cleanarg(nextarg); in getparameter()
1326 GetStr(&config->engine, nextarg); in getparameter()
1332 GetStr(&config->capath, nextarg); in getparameter()
1335 GetStr(&config->pubkey, nextarg); in getparameter()
1338 GetStr(&config->hostpubmd5, nextarg); in getparameter()
1344 GetStr(&config->crlfile, nextarg); in getparameter()
1348 GetStr(&config->tls_username, nextarg); in getparameter()
1354 GetStr(&config->tls_password, nextarg); in getparameter()
1360 GetStr(&config->tls_authtype, nextarg); in getparameter()
1373 GetStr(&config->login_options, nextarg); in getparameter()
1378 GetStr(&config->pinnedpubkey, nextarg); in getparameter()
1392 parse_cert_parameter(nextarg, &certname, &passphrase); in getparameter()
1399 cleanarg(nextarg); in getparameter()
1411 nextarg, in getparameter()
1437 err = add2list(&config->proxyheaders, nextarg); in getparameter()
1439 err = add2list(&config->headers, nextarg); in getparameter()
1472 if(parseconfig(nextarg, global)) in getparameter()
1474 nextarg); in getparameter()
1491 err = str2udouble(&config->timeout, nextarg); in getparameter()
1513 GetStr(&config->netrc_file, nextarg); in getparameter()
1561 GetStr(&url->outfile, nextarg); in getparameter()
1581 GetStr(&config->ftpport, nextarg); in getparameter()
1593 switch(nextarg[0]) { in getparameter()
1596 nextarg++; in getparameter()
1597 err = add2list(&config->postquote, nextarg); in getparameter()
1601 nextarg++; in getparameter()
1602 err = add2list(&config->prequote, nextarg); in getparameter()
1605 err = add2list(&config->quote, nextarg); in getparameter()
1616 if(ISDIGIT(*nextarg) && !strchr(nextarg, '-')) { in getparameter()
1622 off = curlx_strtoofft(nextarg, NULL, 10); in getparameter()
1632 tmp_range = nextarg; in getparameter()
1644 GetStr(&config->range, nextarg); in getparameter()
1669 err = add2list(&config->telnet_options, nextarg); in getparameter()
1697 if(!*nextarg) in getparameter()
1701 GetStr(&url->infile, nextarg); in getparameter()
1708 GetStr(&config->userpwd, nextarg); in getparameter()
1709 cleanarg(nextarg); in getparameter()
1713 GetStr(&config->proxyuserpwd, nextarg); in getparameter()
1714 cleanarg(nextarg); in getparameter()
1739 if('@' == *nextarg) { in getparameter()
1744 nextarg++; /* pass the @ */ in getparameter()
1745 if(curlx_strequal("-", nextarg)) { in getparameter()
1750 fname = nextarg; in getparameter()
1751 file = fopen(nextarg, FOPEN_READTEXT); in getparameter()
1762 GetStr(&config->writeout, nextarg); in getparameter()
1766 GetStr(&config->proxy, nextarg); in getparameter()
1771 GetStr(&config->customrequest, nextarg); in getparameter()
1775 err = str2unum(&config->low_speed_time, nextarg); in getparameter()
1783 err = str2unum(&config->low_speed_limit, nextarg); in getparameter()
1790 switch(*nextarg) { in getparameter()
1792 nextarg++; in getparameter()
1801 nextarg++; in getparameter()
1806 nextarg++; in getparameter()
1810 config->condtime=curl_getdate(nextarg, &now); in getparameter()
1814 if(-1 == stat(nextarg, &statbuf)) { in getparameter()
1851 char *nextarg; in parse_args() local
1860 nextarg = (i < (argc - 1)) ? argv[i + 1] : NULL; in parse_args()
1862 result = getparameter(flag, nextarg, &passarg, config, operation); in parse_args()