mirror of
https://github.com/wiiu-env/AromaUpdater.git
synced 2024-12-29 06:22:01 +01:00
14 lines
339 B
C++
14 lines
339 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
class DownloadUtils {
|
|
public:
|
|
static bool Init();
|
|
static void Deinit();
|
|
static int DownloadFileToBuffer(const char *url, std::string &outBuffer, int &responseCodeOut, float *progress);
|
|
|
|
private:
|
|
static bool libInitDone;
|
|
static uint8_t *cacert_pem;
|
|
static uint32_t cacert_pem_size;
|
|
}; |