#ifndef QUICHE_QUIC_TOOLS_QUIC_NAME_LOOKUP_H_
#define QUICHE_QUIC_TOOLS_QUIC_NAME_LOOKUP_H_
#include <string>
#include "quiche/quic/platform/api/quic_socket_address.h"
namespace quic {
class QuicServerId;
namespace tools {
quic::QuicSocketAddress LookupAddress(int address_family_for_lookup,
std::string host, std::string port);
quic::QuicSocketAddress LookupAddress(int address_family_for_lookup,
const QuicServerId& server_id);
inline QuicSocketAddress LookupAddress(std::string host, std::string port) { … }
inline QuicSocketAddress LookupAddress(const QuicServerId& server_id) { … }
}
}
#endif