Display the filename / URL that a screen certificate was obtained from (#1894).
[dcpomatic.git] / src / lib / internet.h
index f3cd2c6b4f908b63f6fba2c4331e643f8fb16c4c..041bb1bb13f4e48d1bc97b11ee7fabc3c2620cc6 100644 (file)
@@ -27,6 +27,20 @@ class ScopedTemporary;
 
 
 boost::optional<std::string> get_from_url (std::string url, bool pasv, bool skip_pasv_ip, ScopedTemporary& temp);
-boost::optional<std::string> get_from_url (std::string url, bool pasv, bool skip_pasv_ip, std::function<boost::optional<std::string> (boost::filesystem::path)> load);
-boost::optional<std::string> get_from_zip_url (std::string url, std::string file, bool pasv, bool skip_pasv_ip, std::function<boost::optional<std::string> (boost::filesystem::path)> load);
+
+boost::optional<std::string> get_from_url (
+       std::string url,
+       bool pasv,
+       bool skip_pasv_ip,
+       std::function<boost::optional<std::string> (boost::filesystem::path, std::string)> load
+       );
+
+boost::optional<std::string> get_from_zip_url (
+       std::string url,
+       std::string file,
+       bool pasv,
+       bool skip_pasv_ip,
+       std::function<boost::optional<std::string> (boost::filesystem::path, std::string)> load
+       );
+
 std::list<std::string> ls_url (std::string url);