chromium/net/third_party/quiche/src/quiche/quic/tools/quic_name_lookup.cc

// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "quiche/quic/tools/quic_name_lookup.h"

#include <cstring>
#include <memory>
#include <string>

#include "absl/strings/str_cat.h"
#include "quiche/quic/core/quic_server_id.h"
#include "quiche/quic/platform/api/quic_logging.h"
#include "quiche/quic/platform/api/quic_socket_address.h"

#if defined(_WIN32)
#include <winsock2.h>
#include <ws2tcpip.h>
#else  // else assume POSIX
#include <netdb.h>
#include <sys/socket.h>
#include <sys/types.h>
#endif

namespace quic::tools {

QuicSocketAddress LookupAddress(int address_family_for_lookup, std::string host,
                                std::string port) {}

QuicSocketAddress LookupAddress(int address_family_for_lookup,
                                const QuicServerId& server_id) {}

}  // namespace quic::tools