#include <ZsyncParser.h>
Public Member Functions | |
ZsyncParser () | |
void | parse (std::string filename) |
parse a file consisting of zlink data | |
std::vector< Url > | getUrls () |
return the download urls from the parsed metalink data | |
MediaBlockList | getBlockList () |
return the block list from the parsed metalink data | |
Private Attributes | |
off_t | filesize |
size_t | blksize |
int | sql |
int | rsl |
int | csl |
MediaBlockList | bl |
std::vector< std::string > | urls |
Definition at line 25 of file ZsyncParser.h.
zypp::media::ZsyncParser::ZsyncParser | ( | ) |
void zypp::media::ZsyncParser::parse | ( | std::string | filename | ) |
std::vector< Url > zypp::media::ZsyncParser::getUrls | ( | ) |
return the download urls from the parsed metalink data
Definition at line 129 of file ZsyncParser.cc.
References urls.
MediaBlockList zypp::media::ZsyncParser::getBlockList | ( | ) |
return the block list from the parsed metalink data
Definition at line 139 of file ZsyncParser.cc.
References bl.
off_t zypp::media::ZsyncParser::filesize [private] |
size_t zypp::media::ZsyncParser::blksize [private] |
int zypp::media::ZsyncParser::sql [private] |
int zypp::media::ZsyncParser::rsl [private] |
int zypp::media::ZsyncParser::csl [private] |
MediaBlockList zypp::media::ZsyncParser::bl [private] |
std::vector<std::string> zypp::media::ZsyncParser::urls [private] |