KiCad PCB EDA Suite
kicad_curl.cpp File Reference
#include <kicad_curl/kicad_curl.h>
#include <wx/log.h>
#include <wx/dynlib.h>
#include <macros.h>
#include <fctsys.h>
#include <ki_mutex.h>
#include <richio.h>

Go to the source code of this file.

Functions

void init_locks ()
 
void kill_locks ()
 
static void at_terminate ()
 At process termination, using atexit() keeps the CURL stuff out of the singletops and PGM_BASE. More...
 

Variables

static volatile bool s_initialized
 
static MUTEX s_lock
 

Function Documentation

static void at_terminate ( )
static

At process termination, using atexit() keeps the CURL stuff out of the singletops and PGM_BASE.

Definition at line 129 of file kicad_curl.cpp.

References KICAD_CURL::Cleanup().

Referenced by KICAD_CURL::Cleanup().

130 {
132 }
static void Cleanup()
Function Cleanup calls curl_global_cleanup for the application.
Definition: kicad_curl.cpp:161
void init_locks ( )
inline

Definition at line 122 of file kicad_curl.cpp.

Referenced by KICAD_CURL::Init().

122 { /* dummy */ }
void kill_locks ( )
inline

Definition at line 123 of file kicad_curl.cpp.

Referenced by KICAD_CURL::Cleanup().

123 { /* dummy */ }

Variable Documentation

volatile bool s_initialized
static
MUTEX s_lock
static

Definition at line 45 of file kicad_curl.cpp.

Referenced by KICAD_CURL::Cleanup(), and KICAD_CURL::Init().