ClickHouse/src/Common/makeSocketAddress.h
2024-01-25 14:31:49 +03:00

16 lines
337 B
C++

#pragma once
#include <Poco/Net/SocketAddress.h>
#include <Common/Logger.h>
namespace Poco { class Logger; }
namespace DB
{
Poco::Net::SocketAddress makeSocketAddress(const std::string & host, uint16_t port, Poco::Logger * log);
Poco::Net::SocketAddress makeSocketAddress(const std::string & host, uint16_t port, LoggerPtr log);
}