X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Finternet.h;h=041bb1bb13f4e48d1bc97b11ee7fabc3c2620cc6;hb=c8bd4ead4c9e757d88136a7fdd556272f36be793;hp=f3cd2c6b4f908b63f6fba2c4331e643f8fb16c4c;hpb=cf65c2709664936940935996499ac87dc47515f0;p=dcpomatic.git diff --git a/src/lib/internet.h b/src/lib/internet.h index f3cd2c6b4..041bb1bb1 100644 --- a/src/lib/internet.h +++ b/src/lib/internet.h @@ -27,6 +27,20 @@ class ScopedTemporary; boost::optional get_from_url (std::string url, bool pasv, bool skip_pasv_ip, ScopedTemporary& temp); -boost::optional get_from_url (std::string url, bool pasv, bool skip_pasv_ip, std::function (boost::filesystem::path)> load); -boost::optional get_from_zip_url (std::string url, std::string file, bool pasv, bool skip_pasv_ip, std::function (boost::filesystem::path)> load); + +boost::optional get_from_url ( + std::string url, + bool pasv, + bool skip_pasv_ip, + std::function (boost::filesystem::path, std::string)> load + ); + +boost::optional get_from_zip_url ( + std::string url, + std::string file, + bool pasv, + bool skip_pasv_ip, + std::function (boost::filesystem::path, std::string)> load + ); + std::list ls_url (std::string url);