NazaraEngine/include/Nazara/Network/Algorithm.hpp

23 lines
645 B
C++

// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Engine - Network module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_ALGORITHM_NETWORK_HPP
#define NAZARA_ALGORITHM_NETWORK_HPP
#include <Nazara/Prerequesites.hpp>
#include <Nazara/Network/Config.hpp>
#include <functional>
#include <tuple>
namespace Nz
{
NAZARA_NETWORK_API bool ParseIPAddress(const char* addressPtr, UInt8 result[16], UInt16* port = nullptr, bool* isIPv6 = nullptr, const char** endOfRead = nullptr);
}
#include <Nazara/Network/Algorithm.inl>
#endif // NAZARA_ALGORITHM_NETWORK_HPP