X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Finternet.h;h=5f9a25e3b2ab166adf7c81e8f0e330cb25bc7fda;hb=7c730205e50014347bd96ab9735346d0b5922798;hp=101eaeae969bf3ae50d1cf4af3a5c75fd18c89d0;hpb=39a7a8be0bdb499423f96aa23ed3bffdc7d6c912;p=dcpomatic.git diff --git a/src/lib/internet.h b/src/lib/internet.h index 101eaeae9..5f9a25e3b 100644 --- a/src/lib/internet.h +++ b/src/lib/internet.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014 Carl Hetherington + Copyright (C) 2014-2019 Carl Hetherington This file is part of DCP-o-matic. @@ -24,6 +24,7 @@ class ScopedTemporary; -boost::optional get_from_url (std::string url, bool pasv, ScopedTemporary& temp); -boost::optional get_from_url (std::string url, bool pasv, boost::function load); -boost::optional get_from_zip_url (std::string url, std::string file, bool pasv, boost::function load); +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, boost::function load); +boost::optional get_from_zip_url (std::string url, std::string file, bool pasv, bool skip_pasv_ip, boost::function load); +std::list ls_url (std::string url);