mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 03:44:00 +02:00
- Attempt to use libcurl in a thread safe manner
This commit is contained in:
@@ -116,8 +116,11 @@ public:
|
||||
static void init();
|
||||
static SystemFlagsType & getSystemSettingType(DebugType type) { return debugLogFileList[type]; }
|
||||
static size_t httpWriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void *data);
|
||||
static std::string getHTTP(std::string URL);
|
||||
static std::string escapeURL(std::string URL);
|
||||
static std::string getHTTP(std::string URL,CURL *handle=NULL);
|
||||
static std::string escapeURL(std::string URL, CURL *handle=NULL);
|
||||
|
||||
static CURL *initHTTP();
|
||||
static void cleanupHTTP(CURL **handle);
|
||||
|
||||
// Let the macro call into this when require.. NEVER call it automatically.
|
||||
static void handleDebug(DebugType type, const char *fmt, ...);
|
||||
|
Reference in New Issue
Block a user