mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 19:14:30 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
12 lines
266 B
C++
12 lines
266 B
C++
#include <array>
|
|
|
|
namespace Poco { namespace Net { class IPAddress; }}
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/// Convert IP address to 16-byte array with IPv6 data (big endian). If it's an IPv4, map it to IPv6.
|
|
std::array<char, 16> IPv6ToBinary(const Poco::Net::IPAddress & address);
|
|
|
|
}
|