12 #ifndef ZYPP_MEDIA_MEDIACURL_H 13 #define ZYPP_MEDIA_MEDIACURL_H 15 #include <zypp/base/Flags.h> 19 #include <curl/curl.h> 53 virtual void attachTo (
bool next =
false)
override;
54 virtual void releaseFrom(
const std::string & ejectDev )
override;
56 virtual void getDir(
const Pathname & dirname,
bool recurse_r )
const override;
57 virtual void getDirInfo( std::list<std::string> & retlist,
58 const Pathname & dirname,
bool dots =
true )
const override;
60 const Pathname & dirname,
bool dots =
true )
const override;
99 const Pathname & attach_point_hint_r );
109 virtual bool progress(
int percent ) = 0;
114 static int aliveCallback(
void *clientp, curl_off_t dltotal, curl_off_t dlnow, curl_off_t ultotal, curl_off_t ulnow );
116 static int progressCallback(
void *clientp, curl_off_t dltotal, curl_off_t dlnow, curl_off_t ultotal, curl_off_t ulnow );
158 bool authenticate(
const std::string & availAuthTypes,
bool firstTry)
const;
180 #endif // ZYPP_MEDIA_MEDIACURL_H
Store and operate with byte count.
std::list< DirEntry > DirContent
Returned by readdir.
Easy-to use interface to the ZYPP dependency resolver.