#include "network_download_file.hpp"
#include "filesystem.hpp"
#include "gettext.hpp"
#include "gui/dialogs/message.hpp"
#include "log.hpp"
#include <curl/curl.h>
Go to the source code of this file.
Namespaces | |
network | |
High level network layer for config object transport. | |
Macros | |
#define | ERR_NW LOG_STREAM(err, log_network) |
#define | DBG_NW LOG_STREAM(debug, log_network) |
Functions | |
static size_t | network::write_callback (char *contents, size_t size, size_t nmemb, void *buffer) |
void | network::gui_download (const std::string &url, const std::string &local_path) |
Initiates a standalone download of a single file from an HTTPS URL. More... | |
bool | network::download (const std::string &url, const std::string &local_path) |
Variables | |
static lg::log_domain | log_network ("network") |
#define DBG_NW LOG_STREAM(debug, log_network) |
Definition at line 26 of file network_download_file.cpp.
#define ERR_NW LOG_STREAM(err, log_network) |
Definition at line 25 of file network_download_file.cpp.
|
static |