TwiceAsNice  2019-02-18
Functions | Variables
libCurlWrap.cpp File Reference
#include "libCurlWrap.h"
#include <stdexcept>
#include "apgHelper.h"
Include dependency graph for libCurlWrap.cpp:

Functions

static int32_t vectWriter (uint8_t *data, size_t size, size_t nmemb, std::vector< uint8_t > &bufferVect)
 
static int32_t strWriter (char *data, size_t size, size_t nmemb, std::string &bufferStr)
 

Variables

static char errorBuffer [CURL_ERROR_SIZE]
 
static std::vector< uint8_tbufferVect
 
static std::string bufferStr
 

Function Documentation

◆ strWriter()

static int32_t strWriter ( char *  data,
size_t  size,
size_t  nmemb,
std::string &  bufferStr 
)
static

◆ vectWriter()

static int32_t vectWriter ( uint8_t data,
size_t  size,
size_t  nmemb,
std::vector< uint8_t > &  bufferVect 
)
static

Variable Documentation

◆ bufferStr

std::string bufferStr
static

◆ bufferVect

std::vector<uint8_t> bufferVect
static

◆ errorBuffer

char errorBuffer[CURL_ERROR_SIZE]
static