42 if( curl_global_init( CURL_GLOBAL_ALL ) != CURLE_OK )
55 curl_global_cleanup();
79 return LIBCURL_VERSION;
static void Cleanup()
Call curl_global_cleanup for the application.
static void Init()
Call curl_global_init for the application.
static bool IsShuttingDown()
Returns true if all curl operations should terminate.
static std::shared_mutex & Mutex()
Returns the mutex for shared locking when performing curl operations.
static const char * GetVersion()
Wrapper for curl_version().
#define THROW_IO_ERROR(msg)
std::string GetCurlLibVersion()
std::string GetKicadCurlVersion()
static std::shared_mutex s_curlMutex
static bool s_curlShuttingDown