#include <MediaCurl.h>
Inheritance diagram for zypp::media::MediaCurl:
Public Member Functions | ||||
MediaCurl (const Url &url_r, const Pathname &attach_point_hint_r) | ||||
virtual | ~MediaCurl () | |||
Static Public Member Functions | ||||
static void | setCookieFile (const Pathname &) | |||
Protected Member Functions | ||||
virtual void | disconnectFrom () | |||
| ||||
virtual void | getFileCopy (const Pathname &srcFilename, const Pathname &targetFilename) const | |||
| ||||
virtual void | doGetFileCopy (const Pathname &srcFilename, const Pathname &targetFilename, callback::SendReport< DownloadProgressReport > &_report) const | |||
| ||||
virtual bool | checkAttachPoint (const Pathname &apoint) const | |||
Verify if the specified directory as attach point (root) as requires by the particular media handler implementation. | ||||
Static Protected Member Functions | ||||
static int | progressCallback (void *clientp, double dltotal, double dlnow, double ultotal, double ulnow) | |||
Protected Attributes | ||||
MEDIA_HANDLER_API | ||||
Private Attributes | ||||
CURL * | _curl | |||
char | _curlError [CURL_ERROR_SIZE] | |||
std::string | _userpwd | |||
std::string | _proxy | |||
std::string | _proxyuserpwd | |||
std::string | _currentCookieFile | |||
std::string | _ca_path | |||
long | _xfer_timeout | |||
Static Private Attributes | ||||
static Pathname | _cookieFile = "/var/lib/YaST2/cookies" | |||
static std::string | _agent = "Novell ZYPP Installer" | |||
Classes | ||||
class | Callbacks |
Definition at line 30 of file MediaCurl.h.
|
|
Definition at line 63 of file MediaCurl.h. References zypp::media::MediaHandler::release(). |
|
Reimplemented from zypp::media::MediaHandler. Definition at line 638 of file MediaCurl.cc. |
|
Reimplemented from zypp::media::MediaHandler. Definition at line 675 of file MediaCurl.cc. References zypp::media::MediaHandler::_url, doGetFileCopy(), zypp::Exception::msg(), zypp::media::DownloadProgressReport::NO_ERROR, zypp::media::DownloadProgressReport::NOT_FOUND, report, zypp::media::MediaHandler::url(), and ZYPP_RETHROW. |
|
Definition at line 694 of file MediaCurl.cc. References zypp::media::MediaHandler::_url, zypp::filesystem::Pathname::absolute(), zypp::filesystem::Pathname::asString(), DBG, zypp::Url::getHost(), zypp::Url::getPathName(), zypp::Url::isValid(), and ZYPP_THROW. Referenced by getFileCopy(). |
|
Verify if the specified directory as attach point (root) as requires by the particular media handler implementation.
Reimplemented from zypp::media::MediaHandler. Definition at line 627 of file MediaCurl.cc. References zypp::media::MediaHandler::checkAttachPoint(). |
|
Definition at line 173 of file MediaCurl.cc. References _cookieFile. |
|
Definition at line 1038 of file MediaCurl.cc. |
|
Definition at line 34 of file MediaCurl.h. |
|
Definition at line 80 of file MediaCurl.h. |
|
Definition at line 81 of file MediaCurl.h. Referenced by MediaCurl(). |
|
Definition at line 83 of file MediaCurl.h. |
|
Definition at line 84 of file MediaCurl.h. |
|
Definition at line 85 of file MediaCurl.h. |
|
Definition at line 86 of file MediaCurl.h. |
|
Definition at line 87 of file MediaCurl.h. |
|
Definition at line 88 of file MediaCurl.h. |
|
Definition at line 90 of file MediaCurl.h. Referenced by setCookieFile(). |
|
Definition at line 91 of file MediaCurl.h. |