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