12 #ifndef ZYPP_MEDIA_MEDIACURL_H 13 #define ZYPP_MEDIA_MEDIACURL_H 20 #include <curl/curl.h> 54 virtual void attachTo (
bool next =
false)
override;
55 virtual void releaseFrom(
const std::string & ejectDev )
override;
57 virtual void getDir(
const Pathname & dirname,
bool recurse_r )
const override;
58 virtual void getDirInfo( std::list<std::string> & retlist,
59 const Pathname & dirname,
bool dots =
true )
const override;
61 const Pathname & dirname,
bool dots =
true )
const override;
100 const Pathname & attach_point_hint_r );
112 virtual bool progress(
int percent ) = 0;
117 static int aliveCallback(
void *clientp,
double dltotal,
double dlnow,
double ultotal,
double ulnow );
119 static int progressCallback(
void *clientp,
double dltotal,
double dlnow,
double ultotal,
double ulnow );
163 bool authenticate(
const std::string & availAuthTypes,
bool firstTry)
const;
188 #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.