libzypp 17.31.23 File Reference
#include "metalinkparser.h"
#include <zypp-core/base/Logger.h>
#include <zypp-core/ByteArray.h>
#include <zypp-core/AutoDispose.h>
#include <stack>
#include <vector>
#include <algorithm>
#include <libxml2/libxml/SAX2.h>
Include dependency graph for

Go to the source code of this file.


struct  zypp::media::transition
struct  zypp::media::ml_parsedata


namespace  zypp
 Easy-to use interface to the ZYPP dependency resolver.
namespace  zypp::env
namespace  zypp::media


enum  zypp::media::ParserState {
  zypp::media::STATE_START , zypp::media::STATE_METALINK , zypp::media::STATE_FILES , zypp::media::STATE_FILE ,
  zypp::media::STATE_M4FILE , zypp::media::STATE_SIZE , zypp::media::STATE_M4SIZE , zypp::media::STATE_VERIFICATION ,
  zypp::media::STATE_HASH , zypp::media::STATE_M4HASH , zypp::media::STATE_PIECES , zypp::media::STATE_M4PIECES ,
  zypp::media::STATE_PHASH , zypp::media::STATE_M4PHASH , zypp::media::STATE_RESOURCES , zypp::media::STATE_URL ,
  zypp::media::STATE_M4URL , zypp::media::NUMSTATES


bool zypp::env::ZYPP_METALINK_DEBUG ()
 Hack to circumvent the currently poor –root support.
const std::unordered_map< ParserState, std::vector< transition > > & zypp::media::transitions ()
static void XMLCALL zypp::media::startElement (void *userData, const xmlChar *name, const xmlChar **atts)
static void XMLCALL zypp::media::endElement (void *userData, const xmlChar *name)
static void XMLCALL zypp::media::characterData (void *userData, const xmlChar *s, int len)
static const char * zypp::media::find_attr (const char *txt, const xmlChar **atts)
 Look up a xml attribute in the passed array atts.
UByteArray zypp::media::hexstr2bytes (std::string str)