KiCad PCB EDA Suite
|
Simple wrapper class to call curl_global_init and curl_global_cleanup for KiCad. More...
#include <kicad_curl.h>
Static Public Member Functions | |
static void | Init () |
Call curl_global_init for the application. More... | |
static void | Cleanup () |
Call curl_global_cleanup for the application. More... | |
static const char * | GetVersion () |
Wrapper for curl_version(). More... | |
Simple wrapper class to call curl_global_init and curl_global_cleanup for KiCad.
Definition at line 59 of file kicad_curl.h.
|
static |
Call curl_global_cleanup for the application.
It must be used only after curl_global_init was called.
Definition at line 42 of file kicad_curl.cpp.
Referenced by PGM_BASE::Destroy().
|
inlinestatic |
Wrapper for curl_version().
Reports back a short string of loaded libraries.
IO_ERROR | on failure, hopefully with helpful text in it. |
Definition at line 83 of file kicad_curl.h.
Referenced by GetKicadCurlVersion().
|
static |
Call curl_global_init for the application.
It must be used only once and before any curl functions that perform requests.
IO_ERROR | on failure, hopefully with helpful text in it. |
Definition at line 33 of file kicad_curl.cpp.
References THROW_IO_ERROR.
Referenced by PGM_BASE::InitPgm().