12#ifndef ZYPP_MEDIA_MEDIAMULTICURL_H
13#define ZYPP_MEDIA_MEDIAMULTICURL_H
22#include <zypp-curl/parser/MediaBlockList>
23#include <zypp-curl/TransferSettings>
37class multifetchrequest;
38class multifetchworker;
56 {
multifetch( filename, fp, urllist, report, blklist, ( filesize ? off_t(filesize) : off_t(-1) ) ); }
60 bool isDNSok(
const std::string &host)
const;
61 void setDNSok(
const std::string &host)
const;
64 void toEasyPool(
const std::string &host, CURL *easy)
const;
68 static int progressCallback(
void *clientp, curl_off_t dltotal, curl_off_t dlnow, curl_off_t ultotal, curl_off_t ulnow );
74 mutable std::set<std::string>
_dnsok;
Store and operate with byte count.
Easy-to use interface to the ZYPP dependency resolver.