KiCad PCB EDA Suite
Loading...
Searching...
No Matches
kicad_curl_easy.cpp File Reference
#include <curl/curl.h>
#include <curl/easy.h>
#include <kicad_curl/kicad_curl.h>
#include <kicad_curl/kicad_curl_easy.h>
#include <cstdarg>
#include <cstddef>
#include <exception>
#include <sstream>
#include <shared_mutex>
#include <wx/app.h>
#include <build_version.h>
#include <ki_exception.h>
#include <kiplatform/app.h>
#include <kiplatform/environment.h>
#include <kiplatform/policy.h>
#include <policy_keys.h>

Go to the source code of this file.

Classes

struct  CURL_PROGRESS
 

Functions

static size_t write_callback (void *aContents, size_t aSize, size_t aNmemb, void *aUserp)
 
static size_t stream_write_callback (void *aContents, size_t aSize, size_t aNmemb, void *aUserp)
 
static int progressinfo (void *aProgress, double aDLtotal, double aDLnow, double aULtotal, double aULnow)
 

Function Documentation

◆ progressinfo()

static int progressinfo ( void *  aProgress,
double  aDLtotal,
double  aDLnow,
double  aULtotal,
double  aULnow 
)
static

Definition at line 111 of file kicad_curl_easy.cpp.

Referenced by KICAD_CURL_EASY::SetTransferCallback().

◆ stream_write_callback()

static size_t stream_write_callback ( void *  aContents,
size_t  aSize,
size_t  aNmemb,
void *  aUserp 
)
static

Definition at line 76 of file kicad_curl_easy.cpp.

Referenced by KICAD_CURL_EASY::SetOutputStream().

◆ write_callback()

static size_t write_callback ( void *  aContents,
size_t  aSize,
size_t  aNmemb,
void *  aUserp 
)
static

Definition at line 64 of file kicad_curl_easy.cpp.

Referenced by KICAD_CURL_EASY::KICAD_CURL_EASY().