libzypp  17.25.3
ZsyncParser.cc File Reference
#include <zypp/media/ZsyncParser.h>
#include <zypp/base/Logger.h>
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vector>
#include <iostream>
#include <fstream>
Include dependency graph for ZsyncParser.cc:

Go to the source code of this file.

Namespaces

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

Macros

#define c2h(c)
 

Functions

static int zypp::media::hexstr2bytes (unsigned char *buf, const char *str, int buflen)
 

Macro Definition Documentation

◆ c2h

#define c2h (   c)
Value:
(((c)>='0' && (c)<='9') ? ((c)-'0') \
: ((c)>='a' && (c)<='f') ? ((c)-('a'-10)) \
: ((c)>='A' && (c)<='F') ? ((c)-('A'-10)) \
: -1)