#include "uhal/utilities/files.hpp"
#include <fstream>
#include <iostream>
#include <wordexp.h>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/asio/error.hpp>
#include <boost/asio/io_service.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <boost/asio/ip/udp.hpp>
#include <boost/asio/streambuf.hpp>
#include <boost/asio/read.hpp>
#include <boost/asio/write.hpp>
#include <boost/spirit/include/qi.hpp>
#include "uhal/log/log.hpp"
Go to the source code of this file.
|
| void | uhal::utilities::ParseSemicolonDelimitedUriList (const std::string &aSemicolonDelimitedUriList, std::vector< std::pair< std::string, std::string > > &aUriList) |
| | Parse a semicolon delimited list of URIs into a vector of protocol/address pairs. More...
|
| |
| void | uhal::utilities::ShellExpandFilenameExpr (const std::string &aFilenameExpr, const boost::filesystem::path &aParentPath, std::vector< boost::filesystem::path > &aFiles) |
| | Perform shell expansion of a linux shell expression ( e.g. More...
|
| |
| template<bool DebugInfo> |
| bool | uhal::utilities::HttpGet (const std::string &aURL, HttpResponseType &aResponse) |
| | Retrieve a file by HTTP. More...
|
| |
| template bool | uhal::utilities::HttpGet< false > (const std::string &, HttpResponseType &) |
| |
| template bool | uhal::utilities::HttpGet< true > (const std::string &, HttpResponseType &) |
| |
| void | uhal::utilities::OpenFileLocal (const std::string &aFilenameExpr, const boost::filesystem::path &aParentPath, const detail::FileCallback_t &aCallback) |
| | Given a linux shell expression, open all files which match it and call the callback function on each of them. More...
|
| |
| void | uhal::utilities::OpenFileHttp (const std::string &aURL, const detail::FileCallback_t &aCallback) |
| | Given a URL, retrieve the file and call the callback function on each of them. More...
|
| |
| void | uhal::utilities::OpenFile (const std::string &aProtocol, const std::string &aFilenameExpr, const boost::filesystem::path &aParentPath, const detail::FileCallback_t &aCallback) |
| | Given a protocol and either a URL or a linux shell expression, open the file and call the callback function on each of them. More...
|
| |