#ifndef _DOWNLOAD_H_ #define _DOWNLOAD_H_ #define ON 1 #define OFF 0 #define SIGPATCHES_URL "https://hamletdufromage.github.io/sigpatches-updater/sigpatches.html" #define DOWNLOAD_PATH "/config/sigpatches-updater/" #define SIGPATCHES_FILENAME "/config/sigpatches-updater/sigpatches.zip" #include #include #include #include #include #include #include #include #include #include #include #include bool downloadFile(const char *url, const char *output, int api); std::tuple, std::vector> fetchLinks(const char *url); #endif