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