12 #ifndef ZYPP_MEDIA_MEDIACURL_H
13 #define ZYPP_MEDIA_MEDIACURL_H
15 #include <zypp/base/Flags.h>
19 #include <curl/curl.h>
52 virtual void attachTo (
bool next =
false)
override;
53 virtual void releaseFrom(
const std::string & ejectDev )
override;
55 virtual void getDir(
const Pathname & dirname,
bool recurse_r )
const override;
56 virtual void getDirInfo( std::list<std::string> & retlist,
57 const Pathname & dirname,
bool dots =
true )
const override;
59 const Pathname & dirname,
bool dots =
true )
const override;
98 const Pathname & attach_point_hint_r );
113 static int aliveCallback(
void *clientp,
double dltotal,
double dlnow,
double ultotal,
double ulnow );
115 static int progressCallback(
void *clientp,
double dltotal,
double dlnow,
double ultotal,
double ulnow );
159 bool authenticate(
const std::string & availAuthTypes,
bool firstTry)
const;
Store and operate with byte count.
std::list< DirEntry > DirContent
Returned by readdir.
Easy-to use interface to the ZYPP dependency resolver.