#include "zypp/media/MetaLinkParser.h"
#include "zypp/base/Logger.h"
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <expat.h>
#include <vector>
#include <algorithm>
#include <iostream>
#include <fstream>
Go to the source code of this file.
Classes |
struct | zypp::media::stateswitch |
struct | zypp::media::ml_url |
struct | zypp::media::ml_parsedata |
Namespaces |
namespace | zypp |
| Easy-to use interface to the ZYPP dependency resolver.
|
namespace | zypp::media |
Defines |
#define | c2h(c) |
Enumerations |
enum | zypp::media::state {
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
} |
Functions |
static void XMLCALL | zypp::media::startElement (void *userData, const char *name, const char **atts) |
static void XMLCALL | zypp::media::endElement (void *userData, const char *name) |
static void XMLCALL | zypp::media::characterData (void *userData, const XML_Char *s, int len) |
static const char * | zypp::media::find_attr (const char *txt, const char **atts) |
static int | zypp::media::hexstr2bytes (unsigned char *buf, const char *str, int buflen) |
static bool | zypp::media::urlcmp (const ml_url &a, const ml_url &b) |
Variables |
static struct stateswitch | zypp::media::stateswitches [] |
Detailed Description
Definition in file MetaLinkParser.cc.
Define Documentation
Value:(((c)>='0' && (c)<='9') ? ((c)-'0') \
: ((c)>='a' && (c)<='f') ? ((c)-('a'-10)) \
: ((c)>='A' && (c)<='F') ? ((c)-('A'-10)) \
: -1)