#include <grpc/support/port_platform.h>
#include "src/core/lib/gprpp/host_port.h"
#include <stddef.h>
#include <initializer_list>
#include "absl/strings/str_format.h"
#include "absl/strings/string_view.h"
#include <grpc/support/log.h>
namespace grpc_core {
std::string JoinHostPort(absl::string_view host, int port) { … }
namespace {
bool DoSplitHostPort(absl::string_view name, absl::string_view* host,
absl::string_view* port, bool* has_port) { … }
}
bool SplitHostPort(absl::string_view name, absl::string_view* host,
absl::string_view* port) { … }
bool SplitHostPort(absl::string_view name, std::string* host,
std::string* port) { … }
}