Lines Matching full:config
192 struct OperationConfig *config) in operate_do() argument
203 CURL *curl = config->easy; in operate_do()
220 heads.config = config; in operate_do()
229 if(!config->url_list || !config->url_list->url) { in operate_do()
245 if(!config->cacert && in operate_do()
246 !config->capath && in operate_do()
247 !config->insecure_ok) { in operate_do()
254 result = curl_easy_getinfo(config->easy, in operate_do()
273 config->cacert = strdup(env); in operate_do()
274 if(!config->cacert) { in operate_do()
284 config->capath = strdup(env); in operate_do()
285 if(!config->capath) { in operate_do()
296 config->cacert = strdup(env); in operate_do()
297 if(!config->cacert) { in operate_do()
311 result = FindWin32CACert(config, tls_backend_info->backend, in operate_do()
320 if(config->postfields) { in operate_do()
321 if(config->use_httpget) { in operate_do()
323 httpgetfields = strdup(config->postfields); in operate_do()
324 Curl_safefree(config->postfields); in operate_do()
330 if(SetHTTPrequest(config, in operate_do()
331 (config->no_body?HTTPREQ_HEAD:HTTPREQ_GET), in operate_do()
332 &config->httpreq)) { in operate_do()
338 if(SetHTTPrequest(config, HTTPREQ_SIMPLEPOST, &config->httpreq)) { in operate_do()
346 if(config->headerfile) { in operate_do()
348 if(strcmp(config->headerfile, "-")) { in operate_do()
349 FILE *newfile = fopen(config->headerfile, "wb"); in operate_do()
351 warnf(config->global, "Failed to open %s\n", config->headerfile); in operate_do()
356 heads.filename = config->headerfile; in operate_do()
374 for(urlnode = config->url_list; urlnode; urlnode = urlnode->next) { in operate_do()
393 mlfile_last = config->metalinkfile_list; in operate_do()
427 if(!config->globoff && infiles) { in operate_do()
476 else if(!config->globoff) { in operate_do()
516 outs.config = config; in operate_do()
561 (metalink || !config->use_metalink)) { in operate_do()
573 if(!*outfile && !config->content_disposition) { in operate_do()
586 warnf(config->global, "bad output glob!\n"); in operate_do()
594 if(config->create_dirs || metalink) { in operate_do()
605 && config->content_disposition) { in operate_do()
610 if(config->resume_from_current) { in operate_do()
617 config->resume_from = fileinfo.st_size; in operate_do()
620 config->resume_from = 0; in operate_do()
623 if(config->resume_from) { in operate_do()
627 FILE *file = fopen(outfile, config->resume_from?"ab":"wb", in operate_do()
631 FILE *file = fopen(outfile, config->resume_from?"ab":"wb"); in operate_do()
640 outs.init = config->resume_from; in operate_do()
717 if(config->authtype & (1UL << bitcheck++)) { in operate_do()
730 if(config->proxyanyauth || (authbits>1)) { in operate_do()
731 warnf(config->global, in operate_do()
743 warnf(config->global, in operate_do()
748 if(uploadfile && config->resume_from_current) in operate_do()
749 config->resume_from = -1; /* -1 will then force get-it-yourself */ in operate_do()
757 /* progress meter is per download, so restore config in operate_do()
812 if((!outfile || !strcmp(outfile, "-")) && !config->use_ascii) { in operate_do()
819 config->terminal_binary_ok = (outfile && !strcmp(outfile, "-")); in operate_do()
821 if(!config->tcp_nodelay) in operate_do()
824 if(config->tcp_fastopen) in operate_do()
830 if(metalink || !config->use_metalink) in operate_do()
842 input.config = config; in operate_do()
859 if(config->recvpersecond && in operate_do()
860 (config->recvpersecond < BUFFER_SIZE)) in operate_do()
862 my_setopt(curl, CURLOPT_BUFFERSIZE, (long)config->recvpersecond); in operate_do()
871 if(config->no_body) in operate_do()
874 if(config->oauth_bearer) in operate_do()
875 my_setopt_str(curl, CURLOPT_XOAUTH2_BEARER, config->oauth_bearer); in operate_do()
881 my_setopt_str(curl, CURLOPT_PROXY, config->proxy); in operate_do()
883 if(config->proxy) in operate_do()
884 my_setopt_enum(curl, CURLOPT_PROXYTYPE, config->proxyver); in operate_do()
886 my_setopt_str(curl, CURLOPT_PROXYUSERPWD, config->proxyuserpwd); in operate_do()
889 my_setopt(curl, CURLOPT_HTTPPROXYTUNNEL, config->proxytunnel?1L:0L); in operate_do()
892 if(config->preproxy) in operate_do()
893 my_setopt_str(curl, CURLOPT_PRE_PROXY, config->preproxy); in operate_do()
896 if(config->proxyanyauth) in operate_do()
899 else if(config->proxynegotiate) in operate_do()
902 else if(config->proxyntlm) in operate_do()
905 else if(config->proxydigest) in operate_do()
908 else if(config->proxybasic) in operate_do()
913 my_setopt_str(curl, CURLOPT_NOPROXY, config->noproxy); in operate_do()
916 config->suppress_connect_headers?1L:0L); in operate_do()
920 my_setopt(curl, CURLOPT_FAILONERROR, config->failonerror?1L:0L); in operate_do()
921 my_setopt(curl, CURLOPT_REQUEST_TARGET, config->request_target); in operate_do()
923 my_setopt(curl, CURLOPT_DIRLISTONLY, config->dirlistonly?1L:0L); in operate_do()
924 my_setopt(curl, CURLOPT_APPEND, config->ftp_append?1L:0L); in operate_do()
926 if(config->netrc_opt) in operate_do()
928 else if(config->netrc || config->netrc_file) in operate_do()
933 if(config->netrc_file) in operate_do()
934 my_setopt_str(curl, CURLOPT_NETRC_FILE, config->netrc_file); in operate_do()
936 my_setopt(curl, CURLOPT_TRANSFERTEXT, config->use_ascii?1L:0L); in operate_do()
937 if(config->login_options) in operate_do()
938 my_setopt_str(curl, CURLOPT_LOGIN_OPTIONS, config->login_options); in operate_do()
939 my_setopt_str(curl, CURLOPT_USERPWD, config->userpwd); in operate_do()
940 my_setopt_str(curl, CURLOPT_RANGE, config->range); in operate_do()
942 my_setopt(curl, CURLOPT_TIMEOUT_MS, (long)(config->timeout * 1000)); in operate_do()
944 switch(config->httpreq) { in operate_do()
947 config->postfields); in operate_do()
949 config->postfieldsize); in operate_do()
952 result = tool2curlmime(curl, config->mimeroot, &config->mimepost); in operate_do()
955 my_setopt_mimepost(curl, CURLOPT_MIMEPOST, config->mimepost); in operate_do()
962 if(config->authtype) in operate_do()
963 my_setopt_bitmask(curl, CURLOPT_HTTPAUTH, (long)config->authtype); in operate_do()
965 my_setopt_slist(curl, CURLOPT_HTTPHEADER, config->headers); in operate_do()
968 my_setopt_str(curl, CURLOPT_REFERER, config->referer); in operate_do()
969 my_setopt_str(curl, CURLOPT_USERAGENT, config->useragent); in operate_do()
977 config->followlocation?1L:0L); in operate_do()
979 config->unrestricted_auth?1L:0L); in operate_do()
981 my_setopt(curl, CURLOPT_AUTOREFERER, config->autoreferer?1L:0L); in operate_do()
984 if(config->proxyheaders) { in operate_do()
985 my_setopt_slist(curl, CURLOPT_PROXYHEADER, config->proxyheaders); in operate_do()
990 my_setopt(curl, CURLOPT_MAXREDIRS, config->maxredirs); in operate_do()
992 if(config->httpversion) in operate_do()
993 my_setopt_enum(curl, CURLOPT_HTTP_VERSION, config->httpversion); in operate_do()
1000 if(config->post301) in operate_do()
1002 if(config->post302) in operate_do()
1004 if(config->post303) in operate_do()
1009 if(config->encoding) in operate_do()
1013 if(config->tr_encoding) in operate_do()
1017 config->http09_allowed ? 1L : 0L); in operate_do()
1021 my_setopt_str(curl, CURLOPT_FTPPORT, config->ftpport); in operate_do()
1023 config->low_speed_limit); in operate_do()
1024 my_setopt(curl, CURLOPT_LOW_SPEED_TIME, config->low_speed_time); in operate_do()
1026 config->sendpersecond); in operate_do()
1028 config->recvpersecond); in operate_do()
1030 if(config->use_resume) in operate_do()
1031 my_setopt(curl, CURLOPT_RESUME_FROM_LARGE, config->resume_from); in operate_do()
1035 my_setopt_str(curl, CURLOPT_KEYPASSWD, config->key_passwd); in operate_do()
1036 my_setopt_str(curl, CURLOPT_PROXY_KEYPASSWD, config->proxy_key_passwd); in operate_do()
1042 my_setopt_str(curl, CURLOPT_SSH_PRIVATE_KEYFILE, config->key); in operate_do()
1044 my_setopt_str(curl, CURLOPT_SSH_PUBLIC_KEYFILE, config->pubkey); in operate_do()
1049 config->hostpubmd5); in operate_do()
1052 if(config->ssh_compression) in operate_do()
1056 if(config->cacert) in operate_do()
1057 my_setopt_str(curl, CURLOPT_CAINFO, config->cacert); in operate_do()
1058 if(config->proxy_cacert) in operate_do()
1059 my_setopt_str(curl, CURLOPT_PROXY_CAINFO, config->proxy_cacert); in operate_do()
1061 if(config->capath) { in operate_do()
1062 result = res_setopt_str(curl, CURLOPT_CAPATH, config->capath); in operate_do()
1064 warnf(config->global, "ignoring %s, not supported by libcurl\n", in operate_do()
1073 if(config->proxy_capath || config->capath) { in operate_do()
1075 (config->proxy_capath ? in operate_do()
1076 config->proxy_capath : in operate_do()
1077 config->capath)); in operate_do()
1079 if(config->proxy_capath) { in operate_do()
1080 warnf(config->global, in operate_do()
1088 if(config->crlfile) in operate_do()
1089 my_setopt_str(curl, CURLOPT_CRLFILE, config->crlfile); in operate_do()
1090 if(config->proxy_crlfile) in operate_do()
1091 my_setopt_str(curl, CURLOPT_PROXY_CRLFILE, config->proxy_crlfile); in operate_do()
1092 else if(config->crlfile) /* CURLOPT_PROXY_CRLFILE default is crlfile */ in operate_do()
1093 my_setopt_str(curl, CURLOPT_PROXY_CRLFILE, config->crlfile); in operate_do()
1095 if(config->pinnedpubkey) in operate_do()
1096 my_setopt_str(curl, CURLOPT_PINNEDPUBLICKEY, config->pinnedpubkey); in operate_do()
1099 /* Check if config->cert is a PKCS#11 URI and set the in operate_do()
1100 * config->cert_type if necessary */ in operate_do()
1101 if(config->cert) { in operate_do()
1102 if(!config->cert_type) { in operate_do()
1103 if(is_pkcs11_uri(config->cert)) { in operate_do()
1104 config->cert_type = strdup("ENG"); in operate_do()
1109 /* Check if config->key is a PKCS#11 URI and set the in operate_do()
1110 * config->key_type if necessary */ in operate_do()
1111 if(config->key) { in operate_do()
1112 if(!config->key_type) { in operate_do()
1113 if(is_pkcs11_uri(config->key)) { in operate_do()
1114 config->key_type = strdup("ENG"); in operate_do()
1119 /* Check if config->proxy_cert is a PKCS#11 URI and set the in operate_do()
1120 * config->proxy_type if necessary */ in operate_do()
1121 if(config->proxy_cert) { in operate_do()
1122 if(!config->proxy_cert_type) { in operate_do()
1123 if(is_pkcs11_uri(config->proxy_cert)) { in operate_do()
1124 config->proxy_cert_type = strdup("ENG"); in operate_do()
1129 /* Check if config->proxy_key is a PKCS#11 URI and set the in operate_do()
1130 * config->proxy_key_type if necessary */ in operate_do()
1131 if(config->proxy_key) { in operate_do()
1132 if(!config->proxy_key_type) { in operate_do()
1133 if(is_pkcs11_uri(config->proxy_key)) { in operate_do()
1134 config->proxy_key_type = strdup("ENG"); in operate_do()
1139 my_setopt_str(curl, CURLOPT_SSLCERT, config->cert); in operate_do()
1140 my_setopt_str(curl, CURLOPT_PROXY_SSLCERT, config->proxy_cert); in operate_do()
1141 my_setopt_str(curl, CURLOPT_SSLCERTTYPE, config->cert_type); in operate_do()
1143 config->proxy_cert_type); in operate_do()
1144 my_setopt_str(curl, CURLOPT_SSLKEY, config->key); in operate_do()
1145 my_setopt_str(curl, CURLOPT_PROXY_SSLKEY, config->proxy_key); in operate_do()
1146 my_setopt_str(curl, CURLOPT_SSLKEYTYPE, config->key_type); in operate_do()
1148 config->proxy_key_type); in operate_do()
1150 if(config->insecure_ok) { in operate_do()
1159 if(config->proxy_insecure_ok) { in operate_do()
1167 if(config->verifystatus) in operate_do()
1170 if(config->falsestart) in operate_do()
1174 config->ssl_version | config->ssl_version_max); in operate_do()
1176 config->proxy_ssl_version); in operate_do()
1178 if(config->path_as_is) in operate_do()
1182 if(!config->insecure_ok) { in operate_do()
1204 if(config->no_body || config->remote_time) { in operate_do()
1209 my_setopt(curl, CURLOPT_CRLF, config->crlf?1L:0L); in operate_do()
1210 my_setopt_slist(curl, CURLOPT_QUOTE, config->quote); in operate_do()
1211 my_setopt_slist(curl, CURLOPT_POSTQUOTE, config->postquote); in operate_do()
1212 my_setopt_slist(curl, CURLOPT_PREQUOTE, config->prequote); in operate_do()
1215 if(config->cookie) in operate_do()
1216 my_setopt_str(curl, CURLOPT_COOKIE, config->cookie); in operate_do()
1218 if(config->cookiefile) in operate_do()
1219 my_setopt_str(curl, CURLOPT_COOKIEFILE, config->cookiefile); in operate_do()
1222 if(config->cookiejar) in operate_do()
1223 my_setopt_str(curl, CURLOPT_COOKIEJAR, config->cookiejar); in operate_do()
1226 my_setopt(curl, CURLOPT_COOKIESESSION, config->cookiesession?1L:0L); in operate_do()
1228 if(config->cookie || config->cookiefile || config->cookiejar) { in operate_do()
1229 warnf(config->global, "cookie option(s) used even though cookie " in operate_do()
1235 my_setopt_enum(curl, CURLOPT_TIMECONDITION, (long)config->timecond); in operate_do()
1236 my_setopt(curl, CURLOPT_TIMEVALUE_LARGE, config->condtime); in operate_do()
1237 my_setopt_str(curl, CURLOPT_CUSTOMREQUEST, config->customrequest); in operate_do()
1238 customrequest_helper(config, config->httpreq, config->customrequest); in operate_do()
1242 my_setopt_str(curl, CURLOPT_INTERFACE, config->iface); in operate_do()
1243 my_setopt_str(curl, CURLOPT_KRBLEVEL, config->krblevel); in operate_do()
1245 progressbarinit(&progressbar, config); in operate_do()
1255 if(config->dns_servers) in operate_do()
1256 my_setopt_str(curl, CURLOPT_DNS_SERVERS, config->dns_servers); in operate_do()
1259 if(config->dns_interface) in operate_do()
1260 my_setopt_str(curl, CURLOPT_DNS_INTERFACE, config->dns_interface); in operate_do()
1261 if(config->dns_ipv4_addr) in operate_do()
1262 my_setopt_str(curl, CURLOPT_DNS_LOCAL_IP4, config->dns_ipv4_addr); in operate_do()
1263 if(config->dns_ipv6_addr) in operate_do()
1264 my_setopt_str(curl, CURLOPT_DNS_LOCAL_IP6, config->dns_ipv6_addr); in operate_do()
1267 my_setopt_slist(curl, CURLOPT_TELNETOPTIONS, config->telnet_options); in operate_do()
1270 my_setopt_str(curl, CURLOPT_RANDOM_FILE, config->random_file); in operate_do()
1271 my_setopt_str(curl, CURLOPT_EGDSOCKET, config->egd_file); in operate_do()
1273 (long)(config->connecttimeout * 1000)); in operate_do()
1275 if(config->doh_url) in operate_do()
1276 my_setopt_str(curl, CURLOPT_DOH_URL, config->doh_url); in operate_do()
1278 if(config->cipher_list) in operate_do()
1279 my_setopt_str(curl, CURLOPT_SSL_CIPHER_LIST, config->cipher_list); in operate_do()
1281 if(config->proxy_cipher_list) in operate_do()
1283 config->proxy_cipher_list); in operate_do()
1285 if(config->cipher13_list) in operate_do()
1286 my_setopt_str(curl, CURLOPT_TLS13_CIPHERS, config->cipher13_list); in operate_do()
1288 if(config->proxy_cipher13_list) in operate_do()
1290 config->proxy_cipher13_list); in operate_do()
1293 if(config->disable_epsv) in operate_do()
1298 if(config->disable_eprt) in operate_do()
1304 my_setopt(curl, CURLOPT_DEBUGDATA, config); in operate_do()
1309 if(config->engine) { in operate_do()
1310 result = res_setopt_str(curl, CURLOPT_SSLENGINE, config->engine); in operate_do()
1318 (long)(config->ftp_create_dirs? in operate_do()
1323 if(config->max_filesize) in operate_do()
1325 config->max_filesize); in operate_do()
1327 if(4 == config->ip_version) in operate_do()
1329 else if(6 == config->ip_version) in operate_do()
1335 if(config->ftp_ssl_reqd) in operate_do()
1339 else if(config->ftp_ssl) in operate_do()
1343 else if(config->ftp_ssl_control) in operate_do()
1347 if(config->ftp_ssl_ccc) in operate_do()
1349 (long)config->ftp_ssl_ccc_mode); in operate_do()
1352 if(config->socks5_gssapi_nec) in operate_do()
1354 config->socks5_gssapi_nec); in operate_do()
1357 if(config->socks5_auth) in operate_do()
1359 (long)config->socks5_auth); in operate_do()
1362 if(config->proxy_service_name) in operate_do()
1364 config->proxy_service_name); in operate_do()
1367 if(config->service_name) in operate_do()
1369 config->service_name); in operate_do()
1372 my_setopt_str(curl, CURLOPT_FTP_ACCOUNT, config->ftp_account); in operate_do()
1374 my_setopt(curl, CURLOPT_IGNORE_CONTENT_LENGTH, config->ignorecl?1L:0L); in operate_do()
1377 my_setopt(curl, CURLOPT_FTP_SKIP_PASV_IP, config->ftp_skip_ip?1L:0L); in operate_do()
1380 my_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long)config->ftp_filemethod); in operate_do()
1383 if(config->localport) { in operate_do()
1384 my_setopt(curl, CURLOPT_LOCALPORT, config->localport); in operate_do()
1385 my_setopt_str(curl, CURLOPT_LOCALPORTRANGE, config->localportrange); in operate_do()
1390 config->ftp_alternative_to_user); in operate_do()
1393 if(config->disable_sessionid) in operate_do()
1398 if(config->raw) { in operate_do()
1404 if(!config->nokeepalive) { in operate_do()
1406 if(config->alivetime != 0) { in operate_do()
1407 my_setopt(curl, CURLOPT_TCP_KEEPIDLE, config->alivetime); in operate_do()
1408 my_setopt(curl, CURLOPT_TCP_KEEPINTVL, config->alivetime); in operate_do()
1415 if(config->tftp_blksize) in operate_do()
1416 my_setopt(curl, CURLOPT_TFTP_BLKSIZE, config->tftp_blksize); in operate_do()
1418 if(config->mail_from) in operate_do()
1419 my_setopt_str(curl, CURLOPT_MAIL_FROM, config->mail_from); in operate_do()
1421 if(config->mail_rcpt) in operate_do()
1422 my_setopt_slist(curl, CURLOPT_MAIL_RCPT, config->mail_rcpt); in operate_do()
1425 if(config->ftp_pret) in operate_do()
1428 if(config->proto_present) in operate_do()
1429 my_setopt_flags(curl, CURLOPT_PROTOCOLS, config->proto); in operate_do()
1430 if(config->proto_redir_present) in operate_do()
1431 my_setopt_flags(curl, CURLOPT_REDIR_PROTOCOLS, config->proto_redir); in operate_do()
1433 if(config->content_disposition in operate_do()
1442 hdrcbdata.config = config; in operate_do()
1447 if(config->resolve) in operate_do()
1449 my_setopt_slist(curl, CURLOPT_RESOLVE, config->resolve); in operate_do()
1451 if(config->connect_to) in operate_do()
1453 my_setopt_slist(curl, CURLOPT_CONNECT_TO, config->connect_to); in operate_do()
1457 if(config->tls_username) in operate_do()
1459 config->tls_username); in operate_do()
1460 if(config->tls_password) in operate_do()
1462 config->tls_password); in operate_do()
1463 if(config->tls_authtype) in operate_do()
1465 config->tls_authtype); in operate_do()
1466 if(config->proxy_tls_username) in operate_do()
1468 config->proxy_tls_username); in operate_do()
1469 if(config->proxy_tls_password) in operate_do()
1471 config->proxy_tls_password); in operate_do()
1472 if(config->proxy_tls_authtype) in operate_do()
1474 config->proxy_tls_authtype); in operate_do()
1478 if(config->gssapi_delegation) in operate_do()
1480 config->gssapi_delegation); in operate_do()
1484 long mask = (config->ssl_allow_beast ? CURLSSLOPT_ALLOW_BEAST : 0) | in operate_do()
1485 (config->ssl_no_revoke ? CURLSSLOPT_NO_REVOKE : 0); in operate_do()
1490 if(config->proxy_ssl_allow_beast) in operate_do()
1494 if(config->mail_auth) in operate_do()
1495 my_setopt_str(curl, CURLOPT_MAIL_AUTH, config->mail_auth); in operate_do()
1498 if(config->sasl_ir) in operate_do()
1501 if(config->nonpn) { in operate_do()
1505 if(config->noalpn) { in operate_do()
1510 if(config->unix_socket_path) { in operate_do()
1511 if(config->abstract_unix_socket) { in operate_do()
1513 config->unix_socket_path); in operate_do()
1517 config->unix_socket_path); in operate_do()
1521 if(config->proto_default) in operate_do()
1522 my_setopt_str(curl, CURLOPT_DEFAULT_PROTOCOL, config->proto_default); in operate_do()
1525 if(config->expect100timeout > 0) in operate_do()
1527 (long)(config->expect100timeout*1000)); in operate_do()
1530 if(config->tftp_no_options) in operate_do()
1534 if(config->happy_eyeballs_timeout_ms != CURL_HET_DEFAULT) in operate_do()
1536 config->happy_eyeballs_timeout_ms); in operate_do()
1539 if(config->haproxy_protocol) in operate_do()
1542 if(config->disallow_username_in_url) in operate_do()
1547 if(config->altsvc) in operate_do()
1548 my_setopt_str(curl, CURLOPT_ALTSVC, config->altsvc); in operate_do()
1552 retry_sleep_default = (config->retry_delay) ? in operate_do()
1553 config->retry_delay*1000L : RETRY_SLEEP_DEFAULT; /* ms */ in operate_do()
1555 retry_numretries = config->req_retry; in operate_do()
1569 if(!metalink && config->use_metalink) { in operate_do()
1578 fprintf(config->global->errors, in operate_do()
1582 fprintf(config->global->errors, in operate_do()
1588 if(config->test_event_based) in operate_do()
1613 (!config->retry_maxtime || in operate_do()
1615 config->retry_maxtime*1000L)) ) { in operate_do()
1631 else if(config->retry_connrefused && in operate_do()
1639 (config->failonerror && in operate_do()
1697 warnf(config->global, "Transient problem: %s " in operate_do()
1704 if(!config->retry_delay) { in operate_do()
1798 if(config->writeout) in operate_do()
1799 ourWriteOut(curl, &outs, config->writeout); in operate_do()
1818 if(config->synthetic_error) { in operate_do()
1844 if(!result && config->xattr && outs.fopened && outs.stream) { in operate_do()
1847 warnf(config->global, "Error setting extended attributes: %s\n", in operate_do()
1880 if(!result && config->remote_time && outs.s_isreg && outs.filename) { in operate_do()
1884 setfiletime(filetime, outs.filename, config->global->errors); in operate_do()
1888 if(!metalink && config->use_metalink && result == CURLE_OK) { in operate_do()
1889 int rv = parse_metalink(config, &outs, this_url); in operate_do()
1891 fprintf(config->global->errors, "Metalink: parsing (%s) OK\n", in operate_do()
1894 fprintf(config->global->errors, "Metalink: parsing (%s) FAILED\n", in operate_do()
2000 /* Reset the global config variables */ in operate_do()
2008 clean_getout(config); in operate_do()
2020 clean_metalink(config); in operate_do()
2025 CURLcode operate(struct GlobalConfig *config, int argc, argv_item_t argv[]) in operate() argument
2038 parseconfig(NULL, config); /* ignore possible failure */ in operate()
2041 if((argc < 2) && (!config->first->url_list)) { in operate()
2042 helpf(config->errors, NULL); in operate()
2049 ParameterError res = parse_args(config, argc, argv); in operate()
2064 tool_list_engines(config->easy); in operate()
2072 if(config->libcurl) { in operate()
2081 struct OperationConfig *operation = config->first; in operate()
2091 config->current = config->first; in operate()
2094 while(!result && config->current) { in operate()
2095 result = operate_do(config, config->current); in operate()
2097 config->current = config->current->next; in operate()
2099 if(config->current && config->current->easy) in operate()
2100 curl_easy_reset(config->current->easy); in operate()
2104 if(config->libcurl) { in operate()
2109 dumpeasysrc(config); in operate()
2114 helpf(config->errors, "out of memory\n"); in operate()