mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Add CURLProgress structure
For a download progress bar.
This commit is contained in:
parent
7ea51dda8a
commit
e45c0fde7d
@ -1,6 +1,12 @@
|
||||
#ifndef TIER2_CURLUTILS_H
|
||||
#define TIER2_CURLUTILS_H
|
||||
|
||||
struct CURLProgress
|
||||
{
|
||||
CURL* priv;
|
||||
size_t size;
|
||||
};
|
||||
|
||||
size_t CURLWriteStringCallback(char* contents, const size_t size, const size_t nmemb, void* userp);
|
||||
|
||||
CURL* CURLInitRequest(const char* remote, const char* request, string& outResponse, curl_slist*& slist,
|
||||
|
Loading…
x
Reference in New Issue
Block a user