Allow content parts to not be preset in XML.
[dcpomatic.git] / src / lib / internet.h
index d7427fe48351e04cc736f9467915f9a97858197e..12b2ba3cd6999290ab8f8037d5fc83bea3505cbf 100644 (file)
@@ -21,5 +21,5 @@
 #include <boost/function.hpp>
 #include <boost/filesystem.hpp>
 
-boost::optional<std::string> get_from_zip_url (std::string url, std::string file, boost::function<void (boost::filesystem::path)> load);
-std::list<std::string> ftp_ls (std::string dir);
+boost::optional<std::string> get_from_zip_url (std::string url, std::string file, bool pasv, boost::function<void (boost::filesystem::path)> load);
+std::list<std::string> ftp_ls (std::string dir, bool pasv = true);