diff options
author | joschiwald <joschiwald.trinity@gmail.com> | 2018-03-04 13:55:03 +0100 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2018-03-04 13:55:03 +0100 |
commit | 7e643662fda63c92f32cf78323acdbd08732ccea (patch) | |
tree | ea51e86fe77738f9595529d0e243de7b09819821 /src/tools/connection_patcher/Helper.hpp | |
parent | 16a7a414abcc93c4514905b871f53c1049261c12 (diff) |
Tools/ConnectionPatcher: Dropped obsolete function DownloadFile
* Also broken in boost 1.66
Diffstat (limited to 'src/tools/connection_patcher/Helper.hpp')
-rw-r--r-- | src/tools/connection_patcher/Helper.hpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/tools/connection_patcher/Helper.hpp b/src/tools/connection_patcher/Helper.hpp index 3469150057d..e847e911a3f 100644 --- a/src/tools/connection_patcher/Helper.hpp +++ b/src/tools/connection_patcher/Helper.hpp @@ -20,23 +20,16 @@ #define CONNECTION_PATCHER_HELPER_HPP #include "Constants/BinaryTypes.hpp" -#include "Patterns/Common.hpp" #include <boost/filesystem.hpp> -#include <boost/asio.hpp> #include <vector> #include <set> -#include <string> -#include <stdexcept> -#include <SHA256.h> -#include <Util.h> namespace Connection_Patcher { namespace Helper { void CopyDir(boost::filesystem::path const & source, boost::filesystem::path const & destination); - void DownloadFile(const std::string& serverName, int port, const std::string& getCommand, std::ostream& out); Constants::BinaryTypes GetBinaryType(std::vector<unsigned char> const& data); std::set<size_t> SearchOffset(std::vector<unsigned char> const& binary, std::vector<unsigned char> const& pattern); uint32_t GetBuildNumber(std::vector<unsigned char> const& binary); |