Classes | |
class | CredentialFileReader |
struct | CredManagerOptions |
struct | AuthDataComparator |
class | CredentialManager |
struct | CurlConfig |
Structure holding values of curlrc options. More... | |
class | MediaAccess |
Handle access to a medium. More... | |
class | MediaAria2c |
Implementation class for FTP, HTTP and HTTPS MediaHandler using an external program (aria2c) to retrive files. More... | |
struct | MediaBlock |
a single block from the blocklist, consisting of an offset and a size More... | |
class | MediaBlockList |
class | MediaCD |
Implementation class for CD/DVD MediaHandler. More... | |
class | MediaCIFS |
Implementation class for CIFS MediaHandler. More... | |
class | MediaCurl |
Implementation class for FTP, HTTP and HTTPS MediaHandler. More... | |
class | MediaDIR |
Implementation class for DIR MediaHandler. More... | |
class | MediaDISK |
Implementation class for DISK MediaHandler. More... | |
class | MediaException |
Just inherits Exception to separate media exceptions. More... | |
class | MediaMountException |
class | MediaUnmountException |
class | MediaBadFilenameException |
class | MediaNotOpenException |
class | MediaFileNotFoundException |
class | MediaWriteException |
class | MediaNotAttachedException |
class | MediaBadAttachPointException |
class | MediaCurlInitException |
class | MediaMetalinkInitException |
class | MediaAria2cInitException |
class | MediaSystemException |
class | MediaNotAFileException |
class | MediaNotADirException |
class | MediaBadUrlException |
class | MediaBadUrlEmptyHostException |
class | MediaBadUrlEmptyFilesystemException |
class | MediaBadUrlEmptyDestinationException |
class | MediaUnsupportedUrlSchemeException |
class | MediaNotSupportedException |
class | MediaCurlException |
class | MediaCurlSetOptException |
class | MediaMetalinkException |
class | MediaMetalinkSetOptException |
class | MediaAria2cException |
class | MediaAria2cSetOptException |
class | MediaNotDesiredException |
class | MediaIsSharedException |
class | MediaNotEjectedException |
class | MediaUnauthorizedException |
class | MediaForbiddenException |
class | MediaTimeoutException |
class | MediaTemporaryProblemException |
For HTTP 503 and similar. More... | |
class | MediaBadCAException |
class | MediaNoLoopDeviceException |
Thrown if /sbin/losetup fails to find an unused loop device for mounting an .iso image. More... | |
class | MediaHandler |
Abstract base class for 'physical' MediaHandler like MediaCD, etc. More... | |
class | MediaISO |
Implementation class for ISO MediaHandler. More... | |
class | MediaManager_Impl |
class | MediaVerifierBase |
Interface to implement a media verifier. More... | |
class | NoVerifier |
Dummy default media verifier, which is always happy. More... | |
class | MediaManager |
Manages access to the 'physical' media, e.g CDROM drives, Disk volumes, directory trees, etc, using Media Access Url's. More... | |
class | multifetchworker |
class | multifetchrequest |
class | MediaMultiCurl |
class | MediaNFS |
Implementation class for NFS MediaHandler. More... | |
class | MediaPlugin |
Implementation class for plugin MediaHandler. More... | |
class | MediaPriority |
Derive a numeric priority from Url scheme according to zypp.conf(download.media_preference). More... | |
class | MediaSource |
Media source internally used by MediaManager and MediaHandler. More... | |
class | AttachPoint |
Attach point of a media source. More... | |
struct | AttachedMedia |
A simple structure containing references to a media source and its attach point. More... | |
class | AuthData |
Class for handling media authentication data. More... | |
class | CurlAuthData |
Curl HTTP authentication data. More... | |
struct | stateswitch |
struct | ml_url |
struct | ml_parsedata |
class | MetaLinkParser |
struct | MountEntry |
A "struct mntent" like mount entry structure, but using std::strings. More... | |
class | Mount |
Interface to the mount program. More... | |
struct | TmpUnsetEnv |
class | ProxyInfoLibproxy |
class | ProxyInfoSysconfig |
class | ProxyInfo |
class | TransferSettings |
Holds transfer setting. More... | |
class | UrlResolverPlugin |
class | ZsyncParser |
struct | MediaChangeReport |
struct | DownloadProgressReport |
struct | AuthenticationReport |
Typedefs | |
typedef std::list< MediaSource > | DeviceList |
typedef std::map < MediaAccessId, ManagedMedia > | ManagedMediaMap |
typedef zypp::RW_pointer < MediaAccess > | MediaAccessRef |
typedef MediaAccessId | MediaId |
typedef unsigned int | MediaNr |
typedef zypp::RW_pointer < MediaVerifierBase > | MediaVerifierRef |
A shared reference to the MediaVerifier implementation. | |
typedef unsigned int | MediaAccessId |
Media manager access Id type. | |
typedef zypp::RW_pointer < MediaSource > | MediaSourceRef |
typedef zypp::RW_pointer < AttachPoint > | AttachPointRef |
typedef shared_ptr< AuthData > | AuthData_Ptr |
typedef shared_ptr< CurlAuthData > | CurlAuthData_Ptr |
Enumerations | |
enum | state { STATE_START, STATE_METALINK, STATE_FILES, STATE_FILE, STATE_M4FILE, STATE_SIZE, STATE_M4SIZE, STATE_VERIFICATION, STATE_HASH, STATE_M4HASH, STATE_PIECES, STATE_M4PIECES, STATE_PHASH, STATE_M4PHASH, STATE_RESOURCES, STATE_URL, STATE_M4URL, NUMSTATES } |
Functions | |
static AuthData_Ptr | findIn (const CredentialManager::CredentialSet &set, const Url &url, url::ViewOption vopt) |
static int | save_creds_in_file (const CredentialManager::CredentialSet creds, const Pathname &file, const mode_t mode) |
std::ostream & | operator<< (std::ostream &str, const MediaAccess &obj) |
void | fillAriaCmdLine (const string &ariaver, const TransferSettings &s, filesystem::TmpPath &credentials, const Url &url, const Pathname &destination, ExternalProgram::Arguments &args) |
comannd line for aria. | |
static size_t | fetchnext (FILE *fp, unsigned char *bp, size_t blksize, size_t pushback, unsigned char *pushbackp) |
std::ostream & | operator<< (std::ostream &str, const MediaBlockList &bl) |
DeviceList | systemDetectDevices (bool supportingDVD_r) |
Try to detect cd/dvd devices using hal/udev. | |
string | getShare (Pathname spath_r) |
Pathname | stripShare (Pathname spath_r) |
void | escape (string &str_r, const char char_r, const string &escaped_r) |
string | escapedPath (string path_r) |
string | unEscape (string text_r) |
void | fillSettingsFromUrl (const Url &url, TransferSettings &s) |
Fills the settings structure using options passed on the url for example ?timeout=x&proxy=foo. | |
void | fillSettingsSystemProxy (const Url &url, TransferSettings &s) |
Reads the system proxy configuration and fills the settings structure proxy information. | |
static const char *const | anonymousIdHeader () |
initialized only once, this gets the anonymous id from the target, which we pass in the http header | |
static const char *const | distributionFlavorHeader () |
initialized only once, this gets the distribution flavor from the target, which we pass in the http header | |
static const char *const | agentString () |
initialized only once, this gets the agent string which also includes the curl version | |
ZYPP_DECLARE_OPERATORS_FOR_FLAGS (MediaCurl::RequestOptions) | |
ostream & | operator<< (ostream &str, const MediaHandler &obj) |
static double | currentTime () |
static bool | env_isset (string name) |
static bool | looks_like_metalink (const Pathname &file) |
MediaPriority::value_type | scheme2priority (const std::string &scheme_r) |
4: local: file,dir,hd 3: remote: nfs,cifs,smb ?: download: http,https,ftp,sftp, tftp ?: volatile: cd,dvd 0: the rest | |
std::ostream & | operator<< (std::ostream &str, const AttachPoint &obj) |
std::ostream & | operator<< (std::ostream &str, const AttachedMedia &obj) |
std::ostream & | operator<< (std::ostream &str, const AuthData &auth_data) |
std::ostream & | operator<< (std::ostream &str, const CurlAuthData &auth_data) |
static void XMLCALL | startElement (void *userData, const char *name, const char **atts) |
static void XMLCALL | endElement (void *userData, const char *name) |
static void XMLCALL | characterData (void *userData, const XML_Char *s, int len) |
static const char * | find_attr (const char *txt, const char **atts) |
static int | hexstr2bytes (unsigned char *buf, const char *str, int buflen) |
static bool | urlcmp (const ml_url &a, const ml_url &b) |
std::ostream & | operator<< (std::ostream &str, const MountEntry &obj) |
static pxProxyFactory * | getProxyFactory () |
std::ostream & | operator<< (std::ostream &str, const UrlResolverPlugin &obj) |
Variables | |
static Mutex | g_Mutex |
static struct stateswitch | stateswitches [] |
typedef std::list<MediaSource> zypp::media::DeviceList [static] |
Definition at line 65 of file MediaCD.cc.
typedef std::map<MediaAccessId, ManagedMedia> zypp::media::ManagedMediaMap [static] |
Definition at line 123 of file MediaManager.cc.
Definition at line 36 of file MediaManager.h.
typedef MediaAccessId zypp::media::MediaId |
Definition at line 39 of file MediaManager.h.
typedef unsigned int zypp::media::MediaNr |
Definition at line 40 of file MediaManager.h.
A shared reference to the MediaVerifier implementation.
Definition at line 124 of file MediaManager.h.
typedef unsigned int zypp::media::MediaAccessId |
Definition at line 124 of file MediaSource.h.
Definition at line 125 of file MediaSource.h.
typedef shared_ptr<AuthData> zypp::media::AuthData_Ptr |
Definition at line 69 of file MediaUserAuth.h.
typedef shared_ptr<CurlAuthData> zypp::media::CurlAuthData_Ptr |
Definition at line 153 of file MediaUserAuth.h.
enum zypp::media::state |
Definition at line 33 of file MetaLinkParser.cc.
static AuthData_Ptr zypp::media::findIn | ( | const CredentialManager::CredentialSet & | set, | |
const Url & | url, | |||
url::ViewOption | vopt | |||
) | [static] |
Definition at line 179 of file CredentialManager.cc.
References zypp::Url::asString(), and zypp::Url::getUsername().
Referenced by zypp::media::CredentialManager::Impl::getCred().
static int zypp::media::save_creds_in_file | ( | const CredentialManager::CredentialSet | creds, | |
const Pathname & | file, | |||
const mode_t | mode | |||
) | [static] |
Definition at line 252 of file CredentialManager.cc.
References zypp::filesystem::assert_dir(), zypp::filesystem::chmod(), and for_.
Referenced by zypp::media::CredentialManager::Impl::saveGlobalCredentials(), zypp::media::CredentialManager::saveInFile(), and zypp::media::CredentialManager::Impl::saveUserCredentials().
std::ostream & zypp::media::operator<< | ( | std::ostream & | str, | |
const MediaAccess & | obj | |||
) |
void zypp::media::fillAriaCmdLine | ( | const string & | ariaver, | |
const TransferSettings & | s, | |||
filesystem::TmpPath & | credentials, | |||
const Url & | url, | |||
const Pathname & | destination, | |||
ExternalProgram::Arguments & | args | |||
) |
comannd line for aria.
The argument list gets passed as reference and it is filled.
Definition at line 88 of file MediaAria2c.cc.
References ARIA_BINARY, zypp::Url::asString(), DBG, for_, zypp::str::form(), zypp::Url::getScheme(), zypp::Url::getViewOptions(), zypp::media::TransferSettings::headersBegin(), zypp::media::TransferSettings::headersEnd(), zypp::ZConfig::instance(), zypp::media::TransferSettings::maxConcurrentConnections(), zypp::media::TransferSettings::maxDownloadSpeed(), zypp::media::TransferSettings::maxSilentTries(), MIL, zypp::media::TransferSettings::minDownloadSpeed(), zypp::media::TransferSettings::password(), zypp::filesystem::TmpPath::path(), zypp::media::TransferSettings::proxy(), zypp::media::TransferSettings::proxyEnabled(), zypp::media::TransferSettings::proxyPassword(), zypp::media::TransferSettings::proxyUsername(), zypp::ZConfig::repoCachePath(), zypp::url::split(), zypp::media::TransferSettings::timeout(), zypp::media::TransferSettings::userAgentString(), zypp::media::TransferSettings::username(), WAR, zypp::url::ViewOption::WITH_PASSWORD, and zypp::url::ViewOption::WITH_USERNAME.
Referenced by zypp::media::MediaAria2c::getFileCopy().
static size_t zypp::media::fetchnext | ( | FILE * | fp, | |
unsigned char * | bp, | |||
size_t | blksize, | |||
size_t | pushback, | |||
unsigned char * | pushbackp | |||
) | [static] |
Definition at line 249 of file MediaBlockList.cc.
std::ostream& zypp::media::operator<< | ( | std::ostream & | str, | |
const MediaBlockList & | bl | |||
) | [inline] |
Definition at line 144 of file MediaBlockList.h.
References zypp::media::MediaBlockList::asString().
DeviceList zypp::media::@147::systemDetectDevices | ( | bool | supportingDVD_r | ) | [static] |
Try to detect cd/dvd devices using hal/udev.
Returns an empty device list on error.
Definition at line 76 of file MediaCD.cc.
References DBG, ERR, WAR, and ZYPP_CAUGHT.
Referenced by zypp::media::MediaCD::detectDevices().
string zypp::media::getShare | ( | Pathname | spath_r | ) | [inline] |
Pathname zypp::media::stripShare | ( | Pathname | spath_r | ) | [inline] |
Definition at line 74 of file MediaCIFS.cc.
void zypp::media::@151::escape | ( | string & | str_r, | |
const char | char_r, | |||
const string & | escaped_r | |||
) | [inline, static] |
string zypp::media::@151::escapedPath | ( | string | path_r | ) | [inline, static] |
string zypp::media::@151::unEscape | ( | string | text_r | ) | [inline, static] |
void zypp::media::fillSettingsFromUrl | ( | const Url & | url, | |
TransferSettings & | s | |||
) |
Fills the settings structure using options passed on the url for example ?timeout=x&proxy=foo.
Definition at line 222 of file MediaCurl.cc.
References zypp::media::CurlAuthData::auth_type_str2long(), DBG, EXPLICITLY_NO_PROXY, zypp::Url::getPassword(), zypp::Url::getQueryParam(), zypp::Url::getScheme(), zypp::Url::getUsername(), zypp::Exception::msg(), zypp::media::TransferSettings::setAnonymousAuth(), zypp::media::TransferSettings::setAuthType(), zypp::media::TransferSettings::setCertificateAuthoritiesPath(), zypp::media::TransferSettings::setHeadRequestsAllowed(), zypp::media::TransferSettings::setPassword(), zypp::media::TransferSettings::setProxy(), zypp::media::TransferSettings::setProxyEnabled(), zypp::media::TransferSettings::setProxyPassword(), zypp::media::TransferSettings::setProxyUsername(), zypp::media::TransferSettings::setTimeout(), zypp::media::TransferSettings::setUsername(), zypp::media::TransferSettings::setVerifyHostEnabled(), zypp::media::TransferSettings::setVerifyPeerEnabled(), zypp::url::split(), TRANSFER_TIMEOUT_MAX, zypp::media::TransferSettings::username(), and ZYPP_THROW.
Referenced by zypp::media::MediaCurl::setupEasy().
void zypp::media::fillSettingsSystemProxy | ( | const Url & | url, | |
TransferSettings & | s | |||
) |
Reads the system proxy configuration and fills the settings structure proxy information.
Definition at line 342 of file MediaCurl.cc.
References zypp::url::E_ENCODED, zypp::media::ProxyInfo::proxy(), zypp::media::TransferSettings::proxyUsername(), zypp::media::TransferSettings::setProxy(), zypp::media::TransferSettings::setProxyEnabled(), zypp::media::TransferSettings::setProxyPassword(), zypp::media::TransferSettings::setProxyUsername(), zypp::media::ProxyInfo::useProxyFor(), zypp::url::ViewOption::WITH_HOST, zypp::url::ViewOption::WITH_PORT, and zypp::url::ViewOption::WITH_SCHEME.
Referenced by zypp::media::MediaCurl::setupEasy().
static const char* const zypp::media::anonymousIdHeader | ( | ) | [static] |
initialized only once, this gets the anonymous id from the target, which we pass in the http header
Definition at line 370 of file MediaCurl.cc.
References _value, zypp::Target::anonymousUniqueId(), zypp::str::form(), and zypp::str::trim().
Referenced by zypp::media::MediaCurl::setupEasy().
static const char* const zypp::media::distributionFlavorHeader | ( | ) | [static] |
initialized only once, this gets the distribution flavor from the target, which we pass in the http header
Definition at line 388 of file MediaCurl.cc.
References _value, zypp::Target::distributionFlavor(), zypp::str::form(), and zypp::str::trim().
Referenced by zypp::media::MediaCurl::setupEasy().
static const char* const zypp::media::agentString | ( | ) | [static] |
initialized only once, this gets the agent string which also includes the curl version
Definition at line 406 of file MediaCurl.cc.
References _value, zypp::str::form(), and zypp::Target::targetDistribution().
Referenced by zypp::media::MediaCurl::setupEasy().
zypp::media::ZYPP_DECLARE_OPERATORS_FOR_FLAGS | ( | MediaCurl::RequestOptions | ) |
ostream& zypp::media::operator<< | ( | ostream & | str, | |
const MediaHandler & | obj | |||
) |
Definition at line 1193 of file MediaHandler.cc.
References zypp::media::MediaHandler::isAttached(), zypp::media::MediaHandler::localRoot(), and zypp::media::MediaHandler::url().
static double zypp::media::currentTime | ( | ) | [static] |
static bool zypp::media::env_isset | ( | string | name | ) | [inline, static] |
Definition at line 418 of file MediaMultiCurl.cc.
Referenced by zypp::media::multifetchworker::checkdns().
static bool zypp::media::looks_like_metalink | ( | const Pathname & | file | ) | [static] |
Definition at line 1202 of file MediaMultiCurl.cc.
References DBG, and zypp::base::sysconfig::read().
Referenced by zypp::media::MediaMultiCurl::doGetFileCopy().
MediaPriority::value_type zypp::media::@171::scheme2priority | ( | const std::string & | scheme_r | ) | [static] |
4: local: file,dir,hd 3: remote: nfs,cifs,smb ?: download: http,https,ftp,sftp, tftp ?: volatile: cd,dvd 0: the rest
Definition at line 40 of file MediaPriority.cc.
References zypp::ZConfig::instance(), and RETURN_IF.
std::ostream& zypp::media::operator<< | ( | std::ostream & | str, | |
const AttachPoint & | obj | |||
) | [related] |
Definition at line 18 of file MediaSource.cc.
References zypp::media::AttachPoint::path, and zypp::media::AttachPoint::temp.
std::ostream& zypp::media::operator<< | ( | std::ostream & | str, | |
const AttachedMedia & | obj | |||
) | [related] |
Definition at line 23 of file MediaSource.cc.
References zypp::media::AttachedMedia::attachPoint, and zypp::media::AttachedMedia::mediaSource.
std::ostream & zypp::media::operator<< | ( | std::ostream & | str, | |
const AuthData & | auth_data | |||
) |
std::ostream & zypp::media::operator<< | ( | std::ostream & | str, | |
const CurlAuthData & | auth_data | |||
) |
static void XMLCALL zypp::media::startElement | ( | void * | userData, | |
const char * | name, | |||
const char ** | atts | |||
) | [static] |
Definition at line 178 of file MetaLinkParser.cc.
References zypp::media::ml_parsedata::blksize, zypp::media::ml_parsedata::chksuml, zypp::media::ml_parsedata::content, zypp::media::ml_parsedata::depth, zypp::media::stateswitch::docontent, zypp::media::ml_parsedata::docontent, zypp::media::stateswitch::ename, find_attr(), zypp::media::stateswitch::from, zypp::media::ml_parsedata::gotfile, zypp::media::ml_parsedata::lcontent, zypp::media::ml_parsedata::npiece, zypp::media::ml_parsedata::piece, zypp::media::ml_parsedata::piecel, zypp::media::ml_parsedata::sbtab, zypp::media::ml_parsedata::state, STATE_FILE, STATE_HASH, STATE_M4FILE, STATE_M4HASH, STATE_M4PHASH, STATE_M4PIECES, STATE_M4URL, STATE_PHASH, STATE_PIECES, STATE_URL, zypp::media::ml_parsedata::statedepth, zypp::media::ml_parsedata::swtab, zypp::media::stateswitch::to, and zypp::media::ml_parsedata::urls.
Referenced by zypp::media::ml_parsedata::ml_parsedata().
static void XMLCALL zypp::media::endElement | ( | void * | userData, | |
const char * | name | |||
) | [static] |
Definition at line 316 of file MetaLinkParser.cc.
References zypp::media::ml_parsedata::chksum, zypp::media::ml_parsedata::chksuml, zypp::media::ml_parsedata::content, zypp::media::ml_parsedata::depth, zypp::media::ml_parsedata::docontent, hexstr2bytes(), zypp::media::ml_parsedata::npiece, zypp::media::ml_parsedata::nsha1, zypp::media::ml_parsedata::nurls, zypp::media::ml_parsedata::nzsync, zypp::media::ml_parsedata::piece, zypp::media::ml_parsedata::piecel, zypp::media::ml_parsedata::sbtab, zypp::media::ml_parsedata::sha1, zypp::media::ml_parsedata::size, zypp::media::ml_parsedata::state, STATE_HASH, STATE_M4HASH, STATE_M4PHASH, STATE_M4PIECES, STATE_M4SIZE, STATE_M4URL, STATE_PHASH, STATE_PIECES, STATE_SIZE, STATE_URL, zypp::media::ml_parsedata::statedepth, zypp::media::ml_parsedata::urls, and zypp::media::ml_parsedata::zsync.
Referenced by zypp::media::ml_parsedata::ml_parsedata().
static void XMLCALL zypp::media::characterData | ( | void * | userData, | |
const XML_Char * | s, | |||
int | len | |||
) | [static] |
Definition at line 386 of file MetaLinkParser.cc.
References zypp::media::ml_parsedata::acontent, zypp::media::ml_parsedata::content, zypp::media::ml_parsedata::docontent, and zypp::media::ml_parsedata::lcontent.
Referenced by zypp::media::ml_parsedata::ml_parsedata().
static const char* zypp::media::find_attr | ( | const char * | txt, | |
const char ** | atts | |||
) | [static] |
static int zypp::media::hexstr2bytes | ( | unsigned char * | buf, | |
const char * | str, | |||
int | buflen | |||
) | [static] |
static bool zypp::media::urlcmp | ( | const ml_url & | a, | |
const ml_url & | b | |||
) | [static] |
Definition at line 445 of file MetaLinkParser.cc.
References zypp::media::ml_url::priority.
Referenced by zypp::media::MetaLinkParser::parseEnd().
std::ostream& zypp::media::operator<< | ( | std::ostream & | str, | |
const MountEntry & | obj | |||
) | [related] |
Definition at line 39 of file Mount.cc.
References zypp::media::MountEntry::dir, zypp::media::MountEntry::opts, zypp::media::MountEntry::src, and zypp::media::MountEntry::type.
static pxProxyFactory* zypp::media::getProxyFactory | ( | ) | [static] |
Definition at line 57 of file ProxyInfoLibproxy.cc.
References zypp::WatchFile::hasChanged(), MIL, and zypp::WatchFile::NO_INIT.
Referenced by zypp::media::ProxyInfoLibproxy::ProxyInfoLibproxy().
std::ostream& zypp::media::operator<< | ( | std::ostream & | str, | |
const UrlResolverPlugin & | obj | |||
) |
Definition at line 92 of file UrlResolverPlugin.cc.
References zypp::media::UrlResolverPlugin::_pimpl.
Mutex zypp::media::g_Mutex [static] |
Definition at line 47 of file MediaManager.cc.
Referenced by zypp::media::MediaManager::addVerifier(), zypp::media::MediaManager::attach(), zypp::media::MediaManager::close(), zypp::media::MediaManager::delVerifier(), zypp::media::MediaManager::dirInfo(), zypp::media::MediaManager::disconnect(), zypp::media::MediaManager::doesFileExist(), zypp::media::MediaManager::downloads(), zypp::media::MediaManager::findAttachedMedia(), zypp::media::MediaManager::forceReleaseShared(), zypp::media::MediaManager::getAttachedMedia(), zypp::media::MediaManager::getDetectedDevices(), zypp::media::MediaManager::getMountEntries(), zypp::media::MediaManager::getMountTableMTime(), zypp::media::MediaManager::isAttached(), zypp::media::MediaManager::isDesiredMedia(), zypp::media::MediaManager::isOpen(), zypp::media::MediaManager::isSharedMedia(), zypp::media::MediaManager::isUseableAttachPoint(), zypp::media::MediaManager::localPath(), zypp::media::MediaManager::localRoot(), zypp::media::MediaManager::MediaManager(), zypp::media::MediaManager::open(), zypp::media::MediaManager::protocol(), zypp::media::MediaManager::provideDir(), zypp::media::MediaManager::provideDirTree(), zypp::media::MediaManager::provideFile(), zypp::media::MediaManager::release(), zypp::media::MediaManager::releaseAll(), zypp::media::MediaManager::releaseDir(), zypp::media::MediaManager::releaseFile(), zypp::media::MediaManager::releasePath(), zypp::media::MediaManager::setAttachPrefix(), zypp::media::MediaManager::setDeltafile(), and zypp::media::MediaManager::url().
struct stateswitch zypp::media::stateswitches[] [static] |
Initial value:
{ { STATE_START, "metalink", STATE_METALINK, 0 }, { STATE_METALINK, "files", STATE_FILES, 0 }, { STATE_METALINK, "file", STATE_M4FILE, 0 }, { STATE_FILES, "file", STATE_FILE, 0 }, { STATE_FILE, "size", STATE_SIZE, 1 }, { STATE_FILE, "verification", STATE_VERIFICATION, 0 }, { STATE_FILE, "resources", STATE_RESOURCES, 0 }, { STATE_VERIFICATION, "hash", STATE_HASH, 1 }, { STATE_VERIFICATION, "pieces", STATE_PIECES, 0 }, { STATE_PIECES, "hash", STATE_PHASH, 1 }, { STATE_RESOURCES, "url", STATE_URL, 1 }, { STATE_M4FILE, "size", STATE_M4SIZE, 1 }, { STATE_M4FILE, "hash", STATE_M4HASH, 1}, { STATE_M4FILE, "url", STATE_M4URL, 1}, { STATE_M4FILE, "pieces", STATE_M4PIECES, 0}, { STATE_M4PIECES, "hash", STATE_M4PHASH, 1 }, { NUMSTATES } }
Definition at line 61 of file MetaLinkParser.cc.
Referenced by zypp::media::ml_parsedata::ml_parsedata().