mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-04-25 16:15:11 -05:00
Add missing curl:: functions.
This commit is contained in:
parent
ec807c0ee8
commit
80cbb88a5a
|
|
@ -7,6 +7,16 @@ namespace
|
|||
constexpr size_t SIZE_UPLOAD_BUFFER = 0x10000;
|
||||
} // namespace
|
||||
|
||||
bool curl::initialize(void)
|
||||
{
|
||||
return curl_global_init(CURL_GLOBAL_ALL) == CURLE_OK;
|
||||
}
|
||||
|
||||
void curl::exit(void)
|
||||
{
|
||||
curl_global_cleanup();
|
||||
}
|
||||
|
||||
size_t curl::read_data_from_file(char *buffer, size_t size, size_t count, fslib::File *target)
|
||||
{
|
||||
// This should be good enough.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user